Configuring RabbitMQ instances

RabbitMQ configuration can be established in several ways:

  • By setting proper environment variables
  • By modifying the RabbitMQ configuration file
  • By defining runtime parameters and policies that can be modified at runtime

Setting environment variables

Environment variables can be set using a standard mechanism provided by your OS (for example, using the Control Panel in Windows or setting them permanently from the shell in Linux). However they can also be specified in the scripts used to run the RabbitMQ broker, such as the rabbitmq-server utility, the rabbitmq-service utility (used in Windows to start RabbitMQ as a Windows service), or rabbitmq-env.conf (using in Unix-like operating systems by RabbitMQ to configure environment ...

Get Learning RabbitMQ now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.