rabbit mq server code example
Example 1: rabbitmq docker
docker run -d --name my-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3-management
Example 2: start rabbit mq server
brew services start rabbitmq
docker run -d --name my-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3-management
brew services start rabbitmq