Interface ExternalReplyMessageReceivedEventListener


public interface ExternalReplyMessageReceivedEventListener

This interface is an extension point to take any action after a reply message of an external inquiry or forward operation has been received. The extension point is also able to cancel the message processing by throwing an exception.

Since:
11.10
  • Method Details

    • externalInquiryReplyMessageReceived

      void externalInquiryReplyMessageReceived(ExternalReplyMessageReceivedEvent externalReplyMessageReceivedEvent) throws PermanentMessagingException, TemporaryMessagingException
      The method is called after the reply message of an external inquiry has been received.
      Parameters:
      externalReplyMessageReceivedEvent - The ExternalReplyMessageReceivedEvent provides additional information about the received external reply message.
      Throws:
      PermanentMessagingException - Throw a PermanentMessagingException to indicate a permanent error. The message will be removed from the incoming source without being processed.
      TemporaryMessagingException - Throw 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.10
    • externalForwardReplyMessageReceived

      void externalForwardReplyMessageReceived(ExternalReplyMessageReceivedEvent externalReplyMessageReceivedEvent) throws PermanentMessagingException, TemporaryMessagingException
      The method is called after the reply message of an external forward operation has been received.
      Parameters:
      externalReplyMessageReceivedEvent - The ExternalReplyMessageReceivedEvent provides additional information about the received external reply message.
      Throws:
      PermanentMessagingException - Throw a PermanentMessagingException to indicate a permanent error. The message will be removed from the incoming source without being processed.
      TemporaryMessagingException - Throw 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.10