O'Reilly logo

RabbitMQ Cookbook by Sigismondo Boschi, Gabriele Santomaggio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring RabbitMQ parameters

In this recipe, we are going to introduce the RabbitMQ parameters. By default, the broker doesn't create the configuration files because in most of the cases you don't need to change them. However, it's important to know how to configure the environment variables and the broker parameters.

How to do it…

In RabbitMQ, you can configure the environment variables and the server file configuration. With the environment variables, you can change parameters such as the server port or the node name. There are two ways to change these variables:

  1. Define the variables in your shell environment.
  2. Create a file rabbitmq-env.conf located in /etc/rabbitmq.

If, for example, you want to change the RabbitMQ node name, you have to do the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required