Interface IncomingMessageReceivedEvent

  • All Superinterfaces:
    Event, IncomingMessageInfo, MessageInfo

    public interface IncomingMessageReceivedEvent
    extends Event, IncomingMessageInfo

    This event is triggered when a message has been received and before it is being processed by the knowledge base within the novomind iAGENT core process.

    Since:
    10.0.138
    • Method Detail

      • getTicketStorage

        IntermediateStorage getTicketStorage()
        Returns the storage of the ticket to be created for the incoming message. The data contained in the storage will be stored automatically when the ticket has been created successfully. Please note that all data contained in the storage will be discarded if the message processing is aborted or cancelled due to any other Apps or by decision of the knowledge base.
        Returns:
        the IntermediateStorage to store any data associated with the ticket
        Since:
        10.0.138
      • getIncomingBindings

        IncomingBindings getIncomingBindings()
        Returns the IncomingBindings object. The IncomingBindings object 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 same IncomingBindings object to share the contained data between each other. In the knowledge base you may access a key-value-pair of the Binding within action code by using the "get" function, e.g.: String value = get("myKey");
        Returns:
        the IncomingBindings object to share transient data between other Apps and the knowledge base
        Since:
        10.0.138