Interface MessageDeliveryEventHandlerSendContext


public interface MessageDeliveryEventHandlerSendContext
Retrieves the context and sets tokens for the outbound Spark message. Passed to MessageDeliveryEventHandler.
  • Method Details

    • getMessageContext

      MessageContext getMessageContext()
      Retrieves contextual information about a Message.
      Returns:
      the MessageContext of the Spark message to be sent
    • setTokenRequest

      void setTokenRequest(TokenRequest tokenRequest)
      Sets a TokenRequest for the queue message.
      Parameters:
      tokenRequest - the token request containing the mapping from token names to their values. Cannot be null.