Package | Description |
---|---|
io.vertx.core.eventbus | |
io.vertx.core.spi.metrics |
Modifier and Type | Method and Description |
---|---|
Message<T> |
DeliveryContext.message() |
Modifier and Type | Method and Description |
---|---|
<T> MessageConsumer<T> |
EventBus.consumer(String address,
Handler<Message<T>> handler)
Create a consumer and register it against the specified address.
|
MessageConsumer<T> |
MessageConsumer.handler(Handler<Message<T>> handler) |
<T> MessageConsumer<T> |
EventBus.localConsumer(String address,
Handler<Message<T>> handler)
Like
EventBus.consumer(String, Handler) but the address won't be propagated across the cluster. |
<R> void |
Message.reply(Object message,
DeliveryOptions options,
Handler<AsyncResult<Message<R>>> replyHandler)
Deprecated.
|
<R> void |
Message.reply(Object message,
Handler<AsyncResult<Message<R>>> replyHandler)
Deprecated.
|
default <R> void |
Message.replyAndRequest(Object message,
DeliveryOptions options,
Handler<AsyncResult<Message<R>>> replyHandler)
Like
replyAndRequest(Object, Handler) but specifying options that can be used
to configure the delivery. |
default <R> void |
Message.replyAndRequest(Object message,
Handler<AsyncResult<Message<R>>> replyHandler)
Reply to this message, specifying a
replyHandler for the reply - i.e. |
default <T> EventBus |
EventBus.request(String address,
Object message,
DeliveryOptions options,
Handler<AsyncResult<Message<T>>> replyHandler)
Like
EventBus.request(String, Object, Handler) but specifying options that can be used to configure the delivery. |
default <T> EventBus |
EventBus.request(String address,
Object message,
Handler<AsyncResult<Message<T>>> replyHandler)
Sends a message and and specify a
replyHandler that will be called if the recipient
subsequently replies to the message. |
<T> EventBus |
EventBus.send(String address,
Object message,
DeliveryOptions options,
Handler<AsyncResult<Message<T>>> replyHandler)
Deprecated.
|
<T> EventBus |
EventBus.send(String address,
Object message,
Handler<AsyncResult<Message<T>>> replyHandler)
Deprecated.
use
EventBus.request(String, Object, Handler) instead |
<R> MessageProducer<T> |
MessageProducer.send(T message,
Handler<AsyncResult<Message<R>>> replyHandler)
Deprecated.
instead use
EventBus.request(String, Object, Handler) |
Modifier and Type | Method and Description |
---|---|
default void |
EventBusMetrics.discardMessage(H handler,
boolean local,
Message<?> msg)
Discard a message.
|
Copyright © 2020 Eclipse. All rights reserved.