Interface Publisher.Context

Enclosing interface:
Publisher

public static interface Publisher.Context
Feedback context.
  • Method Details

    • message

      Message message()
      The message.
      Returns:
      the message
    • status

      The status returned by the broker.
      Returns:
      status of the message
      See Also:
    • failureCause

      Throwable failureCause()
      Failure cause (null, unless for some cases of Publisher.Status.REJECTED).
      Returns:
      failure cause, null if no cause for failure