Package | Description |
---|---|
io.vertx.amqpbridge | |
io.vertx.core.eventbus | |
io.vertx.ext.mail | |
io.vertx.ext.unit.collect | |
io.vertx.rxjava.core.eventbus | |
io.vertx.servicediscovery.types | |
io.vertx.serviceproxy |
Modifier and Type | Method and Description |
---|---|
<T> MessageConsumer<T> |
AmqpBridge.createConsumer(String amqpAddress)
Creates a consumer on the given AMQP address.
|
Modifier and Type | Method and Description |
---|---|
<T> MessageConsumer<T> |
EventBus.consumer(String address)
Create a message consumer against the specified address.
|
<T> MessageConsumer<T> |
EventBus.consumer(String address,
Handler<Message<T>> handler)
Create a consumer and register it against the specified address.
|
MessageConsumer<T> |
MessageConsumer.endHandler(Handler<Void> endHandler) |
MessageConsumer<T> |
MessageConsumer.exceptionHandler(Handler<Throwable> handler) |
MessageConsumer<T> |
MessageConsumer.handler(Handler<Message<T>> handler) |
<T> MessageConsumer<T> |
EventBus.localConsumer(String address)
Like
EventBus.consumer(String) but the address won't be propagated across the cluster. |
<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. |
MessageConsumer<T> |
MessageConsumer.pause() |
MessageConsumer<T> |
MessageConsumer.resume() |
MessageConsumer<T> |
MessageConsumer.setMaxBufferedMessages(int maxBufferedMessages)
Set the number of messages this registration will buffer when this stream is paused.
|
Modifier and Type | Method and Description |
---|---|
MessageConsumer<JsonObject> |
MailServiceVertxProxyHandler.registerHandler(String address) |
Modifier and Type | Method and Description |
---|---|
MessageConsumer |
EventBusCollector.register(String address)
Register the collector as a consumer of the event bus with the specified address.
|
Modifier and Type | Method and Description |
---|---|
static <T> MessageConsumer |
MessageConsumer.newInstance(MessageConsumer arg) |
Constructor and Description |
---|
MessageConsumer(MessageConsumer delegate) |
Modifier and Type | Method and Description |
---|---|
static <T> void |
MessageSource.getConsumer(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<MessageConsumer<T>>> resultHandler)
Convenient method that looks for a message source and provides the configured
MessageConsumer . |
Modifier and Type | Field and Description |
---|---|
protected MessageConsumer<JsonObject> |
ProxyHandler.consumer |
Modifier and Type | Method and Description |
---|---|
abstract MessageConsumer<JsonObject> |
ProxyHandler.registerHandler(String address)
Register the proxy handle on the event bus.
|
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerService(Class<T> clazz,
Vertx vertx,
T service,
String address)
Registers a service on the event bus.
|
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerService(Class<T> clazz,
Vertx vertx,
T service,
String address,
boolean topLevel,
long timeoutSeconds) |
static <T> MessageConsumer<JsonObject> |
ProxyHelper.registerService(Class<T> clazz,
Vertx vertx,
T service,
String address,
long timeoutSeconds) |
Modifier and Type | Method and Description |
---|---|
void |
ProxyHandler.setConsumer(MessageConsumer<JsonObject> consumer) |
static void |
ProxyHelper.unregisterService(MessageConsumer<JsonObject> consumer)
Unregisters a published service.
|
Copyright © 2016. All rights reserved.