Interface PostIncomingMessageListener


  • public interface PostIncomingMessageListener

    This interface is an extension point to take any action after a message has been received and successfully pushed to the central backlog.

    Since:
    10.0.42
    • Method Detail

      • postIncomingMessage

        @Deprecated(since="12.33",
                    forRemoval=true)
        default void postIncomingMessage​(javax.mail.Message incomingMessage,
                                         IncomingMessageInfo incomingMessageInfo,
                                         javax.mail.Message backlogMessage,
                                         BacklogMessageInfo backlogMessageInfo,
                                         Ticket ticket)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Please implement the method postIncomingMessage(PostIncomingMessageEvent) instead.
        The method is called after the message has been received and successfully been pushed to the central backlog.
        Parameters:
        incomingMessage - The previously received message. Changes to the incomingMessage will be without any effect.
        incomingMessageInfo - The IncomingMessageInfo object provides additional information about the incomingMessage.
        backlogMessage - The message that has been pushed to the central backlog Changes to the backlogMessage will be without any effect.
        backlogMessageInfo - The backlogMessageInfo object provides additional information about the backlogMessage.
        ticket - The ticket that has been created due to the message.
        Since:
        10.0.42
      • postIncomingMessage

        default void postIncomingMessage​(PostIncomingMessageEvent postIncomingMessageEvent)
        The method is called after the message has been received and successfully been pushed to the central backlog.
        Parameters:
        postIncomingMessageEvent - The PostIncomingMessageEvent provides additional information about the incoming message, the backlog message and the Ticket
        Since:
        12.33