7

I am thinking of setting of single rabbit mq on *inx box. Is it possible to open up two ports in such a way, for one development environement we go one port and for QA environment go to different post still use single box and single instance of Rabbit MQ. Is this possible? Thanks,

1 Answer 1

8

You can use the Vhost configuration of RabbitMQ to distinguish different environments. When creating connections you need to make sure that in addition to the hostname and exchange that you also specify a vhost.

Note that there are no tcp port differences, you still connect on 5672, it's purely an additional piece of connection metadata rather than a transport level difference.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.