Package com.veeva.vault.sdk.api.queue
Interface MessageDeliveryEventHandlerContext
public interface MessageDeliveryEventHandlerContext
Retrieves the context and delivery error of the failed Spark message delivery.
Passed to
MessageDeliveryEventHandler
.-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the contextual information about a Message.Retrieves the failure type and error message of the failed Spark message delivery.
-
Method Details
-
getMessageContext
MessageContext getMessageContext()Retrieves the contextual information about a Message.- Returns:
- the MessageContext of the failed Spark message delivery
-
getMessageDeliveryError
MessageDeliveryError getMessageDeliveryError()Retrieves the failure type and error message of the failed Spark message delivery.- Returns:
- the MessageDeliveryError of the failed Spark message delivery
-