You are viewing the documentation for Blueriq 14. Documentation for other versions is available in our documentation directory.
Terminology
- Exchange: An exchange is a very simple thing. On one side it receives messages from producers and the other side it pushes them to queues.
- Queue: They store messages that are consumed by applications.
- Message: An item that is put on a queue.
- Producer: Producing means nothing more than sending. A program that sends messages is a producer.
- Consumer: Consuming has a similar meaning to receiving. A consumer is a program that mostly waits to receive messages.
Checklist
Before installation please check the following checklist provided by RabbitMQ: https://www.rabbitmq.com/production-checklist.html. Even when not installing RabbitMQ for a production environment, the following things need to be taken into account:
- Memory: Nodes hosting RabbitMQ should have at least 128MB of memory available at all times
- Memory: RabbitMQ will not accept any new messages when it detects that it's using more than 40% of the available memory
- Disk free space limit: The default limit for RabbitMQ to block all publishers is 50MB, this is low and should be changed to a more sensible value (follow the link below)
- File handles limit: Make sure your environment allows for at least 50K open file descriptors for effective RabbitMQ user, including in development environments.
- Users: Delete the default user (guest). Default user only can connect from localhost by default, because it has well-known credentials
Downloading and installing RabbitMQ
Download and install RabbitMQ using the installation guides: https://www.rabbitmq.com/download.html.
After RabbitMQ is installed we need to activate the management-plugin so we can access RabbitMQ via a web interface. This is described in this article: https://www.rabbitmq.com/management.html, of which the main steps are outlined below:
- Go to the
/sbin
folder of the installation folder of RabbitMQ and open a command prompt Open a command prompt and run
rabbitmq-plugins enable rabbitmq_management
- The RabbitMQ dashboard should now be accessible through http://localhost:15672, default user is 'guest' with password 'guest'
Be aware that by default, the guest user can only login from localhost
- add a new user so you can remove the guest user. please see: https://www.rabbitmq.com/access-control.html