io.vertx.core.eventbus

## Interface DeliveryContext<T>

-     public interface DeliveryContext<T>

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

  Used with event bus interceptors.
  Author:
    Tim Fox

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `body()`
    `Message<T>` | `message()`
    `void` | `next()` Call the next interceptor
    `boolean` | `send()`

- - ### Method Detail

    - #### message

          Message<T> message()

      Returns:
        The message being delivered

    - #### next

          void next()

      Call the next interceptor

    - #### send

          boolean send()

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

    - #### body

          Object body()

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

Copyright © 2021 Eclipse. All rights reserved.