Interface IncomingMessageInput
-
- All Superinterfaces:
IncomingBindingsProvider
,IncomingMessageInfo
,MessageInfo
- All Known Subinterfaces:
IncomingMessageAnalyzerInput
,IncomingMessageManipulationInput
,IncomingMessageReceivedEvent
,PostIncomingMessageEvent
,TemplateMessageManipulationInput
public interface IncomingMessageInput extends IncomingMessageInfo, IncomingBindingsProvider
TheIncomingMessageInput
is an object to provide all relevant data for the specific extension points in the novomind iAGENT core process called during incoming message processing.- Since:
- 12.33
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IncomingBindings
getIncomingBindings()
Returns theIncomingBindings
object, which may be used to pass any transient data to other apps or to the knowledge base.IntermediateStorage
getTicketStorage()
Returns the storage of the ticket to be created for theIncomingMessage
.-
Methods inherited from interface com.novomind.ecom.api.imail.model.IncomingMessageInfo
getIncomingAccount, getIncomingChannel, getIncomingMessage
-
Methods inherited from interface com.novomind.ecom.api.imail.model.MessageInfo
getTicketId
-
-
-
-
Method Detail
-
getTicketStorage
IntermediateStorage getTicketStorage()
Returns the storage of the ticket to be created for theIncomingMessage
. The data contained in the storage will be stored automatically when the ticket has been created successfully. In case of any regular cancellation of the message processing (e.g. by throwing aTemporaryMessagingException
) all data contained in the storage will also be stored and provided when the extension point is processed again.- Returns:
- the
IntermediateStorage
to store any data associated with the ticket - Since:
- 12.33
-
getIncomingBindings
IncomingBindings getIncomingBindings()
Returns theIncomingBindings
object, which may be used to pass any transient data to other apps or to the knowledge base. Please note that other Apps may read or write to the sameIncomingBindings
object to share the contained data between each other. In the knowledge base you may access a key-value-pair of theIncomingBindings
within action code by using the "get" function, e.g.: String value = get("myKey"); In case of any regular cancellation of the message processing (e.g. by throwing aTemporaryMessagingException
) all data contained in theIncomingBindings
will be saved and recovered when the extension point is processed again for the ticket. The data contained in theIncomingBindings
will be lost after the incoming message has been successfully inserted into the backlog of the novomind iAGENT routing process.- Specified by:
getIncomingBindings
in interfaceIncomingBindingsProvider
- Returns:
- the
IncomingBindings
object to share transient data between other apps and the knowledge base. - Since:
- 12.33
-
-