Feb 18,2018 at 03:40 pm By Ben Hutton
First step it to get RabbitMQ running. Since my laptop already has Docker on it and I want to learn it better I thought I would start with that. This was pretty straight forward, just run the following command.
docker run -d --hostname vpsmanager-rabbitmq --name vpsmanager-rabbitmq -p 15672:15672 -p 5672:5672 rabbitmq:3-management
Note: The web gui is on 15672 and applications will talk to it on 5672.
Once up and running point your browser at:
You should now see the RabbitMQ login page. Using guest/guest to login. Now to manage the docker container you can use the following:
docker start vpsmanager-rabbitmq
docker stop vpsmanager-rabbitmq
Now to build a spring-boot app that connects to RabbitMQ. Using one of the starters from the spring-boot official site seems a no brainer to me. I will outline this in the next post...
Login to Comment
Copyright © 2017 | Ben Hutton