See: Description
Interface | Description |
---|---|
AmqpBridge |
Vert.x AMQP Bridge.
|
Class | Description |
---|---|
AmqpBridgeOptions |
Options for configuring the AmqpBridge.
|
AmqpBridgeOptionsConverter |
Converter for
AmqpBridgeOptions . |
AmqpConstants |
Helpful constants for dealing with the various sections/elements forming the JsonObject representation of the
AMQP
message.
|
MessageProducer
and sending a message with it.
First, an AmqpBridge
is created and started to establish the underlying AMQP connection,
then when this is complete the producer is created and a message sent using it. You can also optionally supply
AmqpBridgeOptions
when creating the bridge in order to configure various options, such
as SSL connections.
[source,$lang]
----
examples.VertxAmqpBridgeExamples#example1
----
=== Receiving a Message
Here is a simple example of creating a MessageConsumer
and registering a handler with it.
First, an AmqpBridge
is created and started to establish the underlying AMQP connection,
then when this is complete the consumer is created and a handler registered that prints the body of incoming AMQP
messages.
[source,$lang]
----
examples.VertxAmqpBridgeExamples#example2
----Copyright © 2016. All rights reserved.