Interface MessageDestination


public interface MessageDestination
Interface to be used by the OutboundMessageHandler during routing to send a Message to a destination.
  • Method Details

    • setConfig

      void setConfig​(java.lang.String config)
      Sets the configuration for the destination.
    • process

      TaskResult process​(Message message, GridTaskContext ctx, PlatformUserContext context) throws java.lang.Exception
      Process the outbound message
      Parameters:
      message - Message which needs to be processed
      ctx - GridTaskContext provides information about the grid task associated with the message
      context - user's contextual information
      Returns:
      indicates whether processing succeeded or failed, and whether to retry
      Throws:
      java.lang.Exception