Values
deliveryOptionsshared deliveryOptions deliveryOptions
no_handlersshared no_handlers no_handlers

The message send failed because no handlers were available to handle the message.

recipient_failureshared recipient_failure recipient_failure

The message send failed because the recipient actively sent back a failure (rejected the message)

replyFailureshared replyFailure replyFailure
timeoutshared timeout timeout

The message send failed because no reply was received before the timeout time.

Classes
DeliveryOptionsshared DeliveryOptions

Delivery options are used to configure message delivery.

Delivery options allow to configure delivery timeout and message codec name, and to provide any headers that you wish to send with the message.

EventBusshared EventBus

A Vert.x event-bus is a light-weight distributed messaging system which allows different parts of your application, or different applications and services to communicate with each in a loosely coupled way.

An event-bus supports publish-subscribe messaging, point-to-point messaging and request-response messaging.

Message delivery is best-effort and messages can be lost if failure of all or part of the event bus occurs.

Please refer to the documentation for more information on the event bus.

Messageshared Message<T>

Represents a message that is received from the event bus in a handler.

Messages have a body, which can be null, and also headers, which can be empty.

If the message was sent specifying a reply handler it will also have a replyAddress. In that case the message can be replied to using that reply address, or, more simply by just using reply.

If you want to notify the sender that processing failed, then fail can be called.

MessageConsumershared MessageConsumer<T>

An event bus consumer object representing a stream of message to an EventBus address that can be read from.

The consumer or localConsumer creates a new consumer, the returned consumer is not yet registered against the event bus. Registration is effective after the handler method is invoked.

The consumer is unregistered from the event bus using the unregister method or by calling the handler with a null value..

MessageProducershared MessageProducer<T>

Represents a stream of message that can be written to.

ReplyFailureshared abstract ReplyFailure

Represents the type of reply failure

SendContextshared SendContext<T>

Encapsulates a message being sent from Vert.x. Used with event bus interceptors

deliveryOptionsshared deliveryOptions
no_handlersshared no_handlers

The message send failed because no handlers were available to handle the message.

recipient_failureshared recipient_failure

The message send failed because the recipient actively sent back a failure (rejected the message)

replyFailureshared replyFailure
timeoutshared timeout

The message send failed because no reply was received before the timeout time.