rabbitmq-dump-queue
rabbitmq-dump-queue copied to clipboard
How to use vhost
How to use vhost? My queue is in vhost. There is a possibility?
Add the RabbitMQ vhost name at the end of the AMQP URI. For example:
rabbitmq-dump-queue -uri="amqp://user:[email protected]:5672/myvhost" ...
Please let me know if worked — I'll add a short explanation about it in the README.
In my case, the vhost was /myvhost and I had to use this format:
-uri="amqp://user:[email protected]:5672//myvhost"
I was able to run successfully the command using the syntax suggested from @dubek . If possible, please update the README, will be easier for anyone else to find it, instead of looking at the opened issues