The address the message was sent to
The body of the message. Can be null.
Signal to the sender that processing of this message failed.
If the message was sent specifying a result handler the handler will be called with a failure corresponding to the failure code and message specified here.
Multi-map of message headers. Can be empty
Signals if this message represents a send or publish event.
Reply to this message.
If the message was sent specifying a reply handler, that handler will be called when it has received a reply. If the message wasn't sent specifying a receipt handler this method does nothing.
Link {@link Message#reply} but allows you to specify delivery options for the reply.
The reply address. Can be null.
Reply to this message, specifying a replyHandler
for the reply - i.e.
to receive the reply to the reply.
If the message was sent specifying a reply handler, that handler will be called when it has received a reply. If the message wasn't sent specifying a receipt handler this method does nothing.
Reply to this message, specifying a replyHandler
for the reply - i.e.
to receive the reply to the reply.
If the message was sent specifying a reply handler, that handler will be called when it has received a reply. If the message wasn't sent specifying a receipt handler this method does nothing.
Like {@link Message#replyAndRequest} but specifying options
that can be used
to configure the delivery.
Like {@link Message#replyAndRequest} but specifying options
that can be used
to configure the delivery.
Generated using TypeDoc
Represents a message that is received from the event bus in a handler.
Messages have a {@link Message#body}, which can be null, and also {@link Message#headers}, which can be empty.
If the message was sent specifying a reply handler, it can be replied to using {@link Message#reply}.
If you want to notify the sender that processing failed, then {@link Message#fail} can be called.