| Modifier and Type | Method and Description |
|---|---|
RabbitMQConsumer |
RabbitMQConsumer.endHandler(io.vertx.core.Handler<Void> endHandler)
Set an end handler.
|
RabbitMQConsumer |
RabbitMQConsumer.exceptionHandler(io.vertx.core.Handler<Throwable> exceptionHandler)
Set an exception handler on the read stream.
|
RabbitMQConsumer |
RabbitMQConsumer.fetch(long amount)
Fetch the specified
amount of elements. |
RabbitMQConsumer |
RabbitMQConsumer.handler(io.vertx.core.Handler<RabbitMQMessage> messageArrived)
Set a message handler.
|
RabbitMQConsumer |
RabbitMQConsumer.pause()
Pause the stream of incoming messages from queue.
|
RabbitMQConsumer |
RabbitMQConsumer.resume()
Resume reading from a queue.
|
RabbitMQConsumer |
RabbitMQConsumer.setQueueName(String name)
Set the name of the queue.
|
| Modifier and Type | Method and Description |
|---|---|
default io.vertx.core.Future<RabbitMQConsumer> |
RabbitMQClient.basicConsumer(String queue)
Like
RabbitMQClient.basicConsumer(String, Handler) but returns a Future of the asynchronous result |
io.vertx.core.Future<RabbitMQConsumer> |
RabbitMQClient.basicConsumer(String queue,
QueueOptions options)
Like
RabbitMQClient.basicConsumer(String, QueueOptions, Handler) but returns a Future of the asynchronous result |
| Modifier and Type | Method and Description |
|---|---|
default void |
RabbitMQClient.basicConsumer(String queue,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RabbitMQConsumer>> resultHandler) |
void |
RabbitMQClient.basicConsumer(String queue,
QueueOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RabbitMQConsumer>> resultHandler)
Create a consumer with the given
options. |
Copyright © 2024 Eclipse. All rights reserved.