/Spring-RabbitMQ-Example

Example project demonstrating the use of RabbitMQ with Spring-boot

Primary LanguageJavaMIT LicenseMIT

Spring-boot RabbitMQ

Example project demonstrating the use of RabbitMQ with Spring-boot

Set up RabbitMQ broker using Docker

docker-compose up

Update Configuration

Set the value of spring.rabbitmq.host to the ip of RabbitMQ Docker container

Run the Application

./mvnw clean package
java -jar target/rabbitmq-0.0.1.jar

Source and Resources