Package com.veeva.vault.sdk.api.queue
Interface MessageDeliveryEventHandlerSendContext
public interface MessageDeliveryEventHandlerSendContext
Retrieves the context and sets tokens for the outbound Spark message.
Passed to
MessageDeliveryEventHandler.-
Method Summary
Modifier and TypeMethodDescriptionRetrieves contextual information about aMessage.voidsetTokenRequest(TokenRequest tokenRequest) Sets aTokenRequestfor the queue message.
-
Method Details
-
getMessageContext
MessageContext getMessageContext()Retrieves contextual information about aMessage.- Returns:
- the MessageContext of the Spark message to be sent
-
setTokenRequest
Sets aTokenRequestfor the queue message.- Parameters:
tokenRequest- the token request containing the mapping from token names to their values. Cannot be null.
-