- Run RabbitMQ in Docker container:
docker run -d -p 5672:5672 -p 15672:15672 --name my-rabbit rabbitmq:3-management
- RabbitMQ web Console: http://localhost:15672/
- Run all three spring boot applications
- Package each application with maven
- Build docker images with docker compose
docker-compose build
- Run containers with docker compose
docker-compose up
*Messages will be published to "myHeaderQueue1" queue
*Messages will be published to "myHeaderQueue2" queue
*Messages will be published to "myHeaderQueue3" queue