Interface MessageSendFailedTicketEvent
- All Superinterfaces:
Event,IncomingMessageInfo,MessageInfo,TicketEvent,TicketProvider
This event is triggered within the novomind iAGENT core process when sending a message associated with a ticket has failed and the message will not be sent again automatically.
- Since:
- 13.18
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns theAnswerTypeof the message that could not be sent.getCause()Returns the exception that caused the failure, e.g.Returns theOutgoingMessageInfowith information about the outgoing message.Returns theSendFailedMessageInfowith information about the message that could not be sent.Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDateMethods inherited from interface com.novomind.ecom.api.imail.model.IncomingMessageInfo
getIncomingAccount, getIncomingChannel, getIncomingMessageMethods inherited from interface com.novomind.ecom.api.imail.model.MessageInfo
getTicketIdMethods inherited from interface com.novomind.ecom.api.imail.provider.TicketProvider
getTicket
-
Method Details
-
getSendFailedMessageInfo
SendFailedMessageInfo getSendFailedMessageInfo()Returns theSendFailedMessageInfowith information about the message that could not be sent. The contained message reflects the state of preparation at the time the failure occurred and can also be empty if the message is not available, e.g. because it could not be created due to missing attachments.- Returns:
- the
SendFailedMessageInfowith information about the message that could not be sent - Since:
- 13.18
-
getOutgoingMessageInfo
OutgoingMessageInfo getOutgoingMessageInfo()Returns theOutgoingMessageInfowith information about the outgoing message.- Returns:
- the
OutgoingMessageInfowith information about the outgoing message - Since:
- 13.18
-
getAnswerType
AnswerType getAnswerType()Returns theAnswerTypeof the message that could not be sent.- Returns:
- the
AnswerTypeof the message that could not be sent - Since:
- 13.18
-
getCause
Exception getCause()Returns the exception that caused the failure, e.g. an exception raised while preparing or delivering the message, or aPermanentMessagingExceptionthrown by aPreSendMessageEventListener.- Returns:
- the exception that caused the failure
- Since:
- 13.18
-