Content
Install Erlang
Install and setup Rabbit MQ
Create sample Spring Boot Rabbit MQ client/server application
Run the application
Install Erlang and Rabbit MQ
Install Erlang
Rabbit MQ download - crossroad
Rabbit MQ - Windows builds - all
Rabbit MQ Win64 installer - exe
Setup Rabbit MQ
cd C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.3\sbin
Start service (if not yet started):
rabbitmq-service start
Enable Web UI:
rabbitmq-plugins enable rabbitmq_management
Add user:
rabbitmqctl add_user Admin_UserName Admin_Password
Grant admin rights:
rabbitmqctl set_user_tags admin administrator
Open Web UI:
http://localhost:15672/
More details:
https://www.rabbitmq.com/management.html
Clone and build project
setlocal enableextensions
mkdir C:\dev\rabbitmq\
cd C:\dev\rabbitmq\
git clone https://github.com/spring-guides/gs-messaging-rabbitmq.git
cd gs-messaging-rabbitmq
mvn clean install
cd complete
java -jar target/messaging-rabbitmq-0.0.1-SNAPSHOT.jar
Run project
cd C:\dev\rabbitmq\gs-messaging-rabbitmq\complete
java -jar target/messaging-rabbitmq-0.0.1-SNAPSHOT.jar
Resources
git clone https://github.com/spring-guides/gs-messaging-rabbitmq.git
Config dir: %APPDATA%\RabbitMQ
No comments:
Post a Comment