Package com.novomind.ecom.api.imail.core
Interface DeliveryFailureMessageReceivedEventListener
-
public interface DeliveryFailureMessageReceivedEventListener
This plugin is only available in the novomind iAGENT core process and can be used to modify the handling of delivery failure messages. All permanent delivery failure massages that were caused by ticket sent by the novomind iAGENT system will be handled by this plugin. It is executed before the IncomingMessageManipulator extension point.
- Since:
- 11.27
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeliveryFailureMessageReceivedResult
deliveryFailureMessageReceived(DeliveryFailureMessageReceivedEvent deliveryFailureMessageReceivedEvent)
This method is directly called after receiving the delivery failure message and a first analysis of the novomind iAGENT system.
-
-
-
Method Detail
-
deliveryFailureMessageReceived
DeliveryFailureMessageReceivedResult deliveryFailureMessageReceived(DeliveryFailureMessageReceivedEvent deliveryFailureMessageReceivedEvent) throws TemporaryMessagingException
This method is directly called after receiving the delivery failure message and a first analysis of the novomind iAGENT system. Mainly the sent ticket belonging to the handled delivery failure message will be determined if possible. Please note that this method will be called on all plugins implementing the interfaceDeliveryFailureMessageReceivedEventListener
. The handling of delivery failure message by the novomind iAGENT system can be changed with this method. The DeliveryFailureMessageReceivedResult returned by the method deliveryFailureMessageReceived can be used to modify the handling of the delivery failure messages. Therefore the DeliveryFailureAction of the DeliveryFailureMessageReceivedResult has to be set accordingly.- Parameters:
deliveryFailureMessageReceivedEvent
- provides all data of the delivery failure message.- Returns:
- the
DeliveryFailureMessageReceivedResult
providing the possibility to change the handling of the delivery failure message. Therefore the DeliveryFailureAction of the returned DeliveryFailureMessageReceivedResult has to be set accordingly. - Throws:
TemporaryMessagingException
- Throws a TemporaryMessagingException to indicate a temporary error. The message will stay on the incoming source and retrieved again after a short period of time.- Since:
- 11.27
-
-