1 Star 0 Fork 0

GeekWN/vertx-examples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.adoc 1.61 KB
一键复制 编辑 原始数据 按行查看 历史

Vert.x AMQP Bridge examples

Here you will find examples demonstrating Vert.x AMQP Bridge in action.

Vert.x AMQP Bridge provides AMQP 1.0 producer and consumer support via a bridging layer implementing the Vert.x event bus MessageProducer and MessageConsumer APIs. Please consult the Vert.x AMQP Bridge documentation for more information.

NOTE: These examples require a broker with AMQP 1.0 support listening at port 5672 on localhost.

For example, you could use ActiveMQ:

  1. Grab the latest release from their Download Page.

  2. Extract the release.

  3. Run the broker using: bin/activemq start

  4. Then run the examples.

  5. When finished, stop the broker using: bin/activemq stop

Sender and Receiver

These examples demonstrates messaging between a MessageProducer and a MessageConsumer instance.

The receiver listens on an address for incoming messages, and prints their content on arrival. The sender sends a message to that address every second.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/geekwn/vertx-examples.git
git@gitee.com:geekwn/vertx-examples.git
geekwn
vertx-examples
vertx-examples
master

搜索帮助

A270a887 8829481 3d7a4017 8829481