Package com.rabbitmq.client.amqp
Interface Publisher.Context
- Enclosing interface:
Publisher
public static interface Publisher.Context
Feedback context.
-
Method Summary
Modifier and TypeMethodDescriptionFailure cause (null, unless for some cases ofPublisher.Status.REJECTED
).message()
The message.status()
The status returned by the broker.
-
Method Details
-
message
Message message()The message.- Returns:
- the message
-
status
Publisher.Status status()The status returned by the broker.- Returns:
- status of the message
- See Also:
-
failureCause
Throwable failureCause()Failure cause (null, unless for some cases ofPublisher.Status.REJECTED
).- Returns:
- failure cause, null if no cause for failure
-