rabbitmq-dump-queue icon indicating copy to clipboard operation
rabbitmq-dump-queue copied to clipboard

How to use vhost

Open darksmoke opened this issue 8 years ago • 3 comments

How to use vhost? My queue is in vhost. There is a possibility?

darksmoke avatar May 19 '17 10:05 darksmoke

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.

dubek avatar May 21 '17 07:05 dubek

In my case, the vhost was /myvhost and I had to use this format: -uri="amqp://user:[email protected]:5672//myvhost"

jalex19100 avatar Feb 14 '18 18:02 jalex19100

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

pc-star avatar Nov 20 '19 14:11 pc-star