1 Star 0 Fork 1

zhouanan511/camel-spring-boot-examples2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
readme.adoc 1.04 KB
一键复制 编辑 原始数据 按行查看 历史

Camel Example RabbitMQ

This example shows how to work with a simple Apache Camel application that routes message to RabbitMQ.

The example generates messages using timer trigger, routes them via RabbitMQ and logs to message.

Configuring RabbitMQ

The sample application uses localhost:5672 to connect to the RabbitMQ broker. This can be configured in the application.properties file.

The login information is the default guest/guest account, which can be configured in the application.properties file as well.

How to run

The sample requires a RabbitMQ broker to be running.

You can for example easily start RabbitMQ via Docker

docker run -it -p 5672:5672 --hostname my-rabbit --name some-rabbit rabbitmq:3

Then you can run this example using

mvn spring-boot:run

Help and contributions

If you hit any problem using Camel or have some feedback, then please let us know.

We also love contributors, so get involved :-)

The Camel riders!

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhouanan511/camel-spring-boot-examples2.git
git@gitee.com:zhouanan511/camel-spring-boot-examples2.git
zhouanan511
camel-spring-boot-examples2
camel-spring-boot-examples2
camel-3.4.x

搜索帮助

371d5123 14472233 46e8bd33 14472233