blob: 991656b379a0e4c042e50b22c83b4afdebd51356 [file] [log] [blame]
== 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
https://camel.apache.org/support.html[let us know].
We also love contributors, so
https://camel.apache.org/contributing.html[get involved] :-)
The Camel riders!