RabbitMQ Guide 1

Installing RabbitMQ on a mac:

brew install rabbitmq

Add RabbitMQ to the PATH in shell:

export PATH=$PATH:/usr/local/sbin

Place this in the .bashrc file or .zshrc file so it can be loaded on every new shell or restarts.

Running RabbitMQ in the foreground:

rabbitmq-server

Running RabbitMQ in the background:

brew services start rabbitmq

Command line interface for RabbitMQ:

rabbitmqctl

Run the web interface of RabbitMQ:

http://localhost:15672

Connect to local instance of RabbitMQ:

amqp://guest:guest@localhost:5672

Add a user:

rabbitmqctl add_user username

Setting permissions for created user:

rabbitmqctl set_permissions "username" ".*" ".*" ".*"

Adding a tag to a created user:

rabbitmqctl set_user_tags chi administrator

This will enable created users to log into the web interface of RabbitMQ

Powered By Swish