Modifier and Type | Method and Description |
---|---|
Message<T> |
DeliveryContext.message() |
Modifier and Type | Method and Description |
---|---|
default <R> Future<Message<R>> |
Message.replyAndRequest(Object message)
Like
replyAndRequest(Object, Handler) but returns a Future of the asynchronous result |
<R> Future<Message<R>> |
Message.replyAndRequest(Object message,
DeliveryOptions options)
Like
replyAndRequest(Object, DeliveryOptions, Handler) but returns a Future of the asynchronous result |
default <T> Future<Message<T>> |
EventBus.request(String address,
Object message)
Like
EventBus.request(String, Object, Handler) but returns a Future of the asynchronous result |
<T> Future<Message<T>> |
EventBus.request(String address,
Object message,
DeliveryOptions options)
Like
EventBus.request(String, Object, DeliveryOptions, Handler) but returns a Future of the asynchronous result |
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. |
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 specify a
replyHandler that will be called if the recipient
subsequently replies to the message. |
Modifier and Type | Method and Description |
---|---|
void |
NodeSelector.selectForPublish(Message<?> message,
Promise<Iterable<String>> promise)
Select a node for publishing the given
message . |
void |
NodeSelector.selectForSend(Message<?> message,
Promise<String> promise)
Select a node for sending the given
message . |
Modifier and Type | Method and Description |
---|---|
default void |
EventBusMetrics.discardMessage(H handler,
boolean local,
Message<?> msg)
Discard a message.
|
Modifier and Type | Method and Description |
---|---|
Handler<Message<JsonObject>> |
EventBusCollector.asMessageHandler() |
Modifier and Type | Method and Description |
---|---|
Message |
Message.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> Message<T> |
Message.newInstance(Message arg) |
static <T> Message<T> |
Message.newInstance(Message arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
Message(Message delegate) |
Modifier and Type | Method and Description |
---|---|
Message |
Message.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> Message<T> |
Message.newInstance(Message arg) |
static <T> Message<T> |
Message.newInstance(Message arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
Message(Message delegate) |
Modifier and Type | Method and Description |
---|---|
Message |
Message.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> Message<T> |
Message.newInstance(Message arg) |
static <T> Message<T> |
Message.newInstance(Message arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
Message(Message delegate) |
Modifier and Type | Method and Description |
---|---|
Future<Message<JsonObject>> |
ServiceJWTInterceptor.apply(Message<JsonObject> msg)
Deprecated.
|
Future<Message<JsonObject>> |
ServiceAuthInterceptor.apply(Message<JsonObject> msg) |
Modifier and Type | Method and Description |
---|---|
Future<Message<JsonObject>> |
ServiceJWTInterceptor.apply(Message<JsonObject> msg)
Deprecated.
|
Future<Message<JsonObject>> |
ServiceAuthInterceptor.apply(Message<JsonObject> msg) |
static <T> Handler<AsyncResult<T>> |
HelperUtils.createHandler(Message msg,
boolean includeDebugInfo) |
static Handler<AsyncResult<List<Character>>> |
HelperUtils.createListCharHandler(Message msg,
boolean includeDebugInfo) |
static <T> Handler<AsyncResult<List<T>>> |
HelperUtils.createListHandler(Message msg,
boolean includeDebugInfo) |
static Handler<AsyncResult<Map<String,Character>>> |
HelperUtils.createMapCharHandler(Message msg,
boolean includeDebugInfo) |
static <T> Handler<AsyncResult<Map<String,T>>> |
HelperUtils.createMapHandler(Message msg,
boolean includeDebugInfo) |
static Handler<AsyncResult<Set<Character>>> |
HelperUtils.createSetCharHandler(Message msg,
boolean includeDebugInfo) |
static <T> Handler<AsyncResult<Set<T>>> |
HelperUtils.createSetHandler(Message msg,
boolean includeDebugInfo) |
static void |
HelperUtils.manageFailure(Message msg,
Throwable cause,
boolean includeDebugInfo) |
Copyright © 2021 Eclipse. All rights reserved.