Modifier and Type | Method and Description |
---|---|
AmqpClient |
AmqpClient.connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<AmqpConnection>> connectionHandler)
Connects to the AMQP broker or router.
|
static AmqpClient |
AmqpClient.create(AmqpClientOptions options)
Creates a new instance of
AmqpClient using an internal Vert.x instance (with default configuration) and
the given AMQP client configuration. |
static AmqpClient |
AmqpClient.create(io.vertx.core.Vertx vertx,
AmqpClientOptions options)
Creates a new instance of
AmqpClient with the given Vert.x instance and the given options. |
AmqpClient |
AmqpClient.createReceiver(String address,
AmqpReceiverOptions receiverOptions,
io.vertx.core.Handler<AmqpMessage> messageHandler,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AmqpReceiver>> completionHandler)
Deprecated.
|
AmqpClient |
AmqpClient.createReceiver(String address,
AmqpReceiverOptions receiverOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AmqpReceiver>> completionHandler)
Creates a receiver used to consumer messages from the given address.
|
AmqpClient |
AmqpClient.createReceiver(String address,
io.vertx.core.Handler<AmqpMessage> messageHandler,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AmqpReceiver>> completionHandler)
Deprecated.
use instead
createReceiver(String, Handler) and then use AmqpReceiver.handler(io.vertx.core.Handler<io.vertx.amqp.AmqpMessage>) |
AmqpClient |
AmqpClient.createReceiver(String address,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AmqpReceiver>> completionHandler)
Creates a receiver used to consume messages from the given address.
|
AmqpClient |
AmqpClient.createSender(String address,
AmqpSenderOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AmqpSender>> completionHandler)
Creates a sender used to send messages to the given address.
|
AmqpClient |
AmqpClient.createSender(String address,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AmqpSender>> completionHandler)
Creates a sender used to send messages to the given address.
|
Copyright © 2019 Eclipse. All rights reserved.