Is it possible to have multiple environments on one RabbitMQ server?

I'm thinking of installing a single mq rabbit on a * inx box. Is it possible to open two ports in this way, for one development we go to one port, and for the QA environment we go to different posts, we still use a single block and one instance of Rabbit MQ. Is it possible? Thanks,

+7
source share
1 answer

You can use the Vhost RabbitMQ configuration to distinguish between different environments. When creating connections, you need to make sure that in addition to the host name and exchange, which you also point to vhost.

Please note that there are no differences in the tcp port, you are still connecting to 5672, this is just an additional part of the connection metadata, and not the difference in transport level.

+8
source

All Articles