How to use vhost
Opened this issue · 3 comments
darksmoke commented
How to use vhost? My queue is in vhost. There is a possibility?
dubek commented
Add the RabbitMQ vhost name at the end of the AMQP URI. For example:
rabbitmq-dump-queue -uri="amqp://user:password@rabbitmq.example.com:5672/myvhost" ...
Please let me know if worked — I'll add a short explanation about it in the README.
jalex19100 commented
In my case, the vhost was /myvhost and I had to use this format:
-uri="amqp://user:password@rabbitmq.example.com:5672//myvhost"