Class: DeliveryContext

vertx-js/delivery_context~ DeliveryContext

new DeliveryContext()

Encapsulates a message being delivered by Vert.x as well as providing control over the message delivery.

Used with event bus interceptors.

Source:

Methods

body() → {Object}

Source:
Returns:
the value delivered by the message (before or after being processed by the codec)
Type
Object

message() → {Message}

Source:
Returns:
The message being delivered
Type
Message

next()

Call the next interceptor
Source:

send() → {boolean}

Source:
Returns:
true if the message is being sent (point to point) or False if the message is being published
Type
boolean