delete_queue Deletes a queue
purge_queue Purges a queue (removes all messages in it)
Thanks
hi everyonehow can i delete all queues in a specific virtual host with a command?thanks inadvance
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/55b8c5f4-bee8-4cc1-909d-6571e7bf4622n%40googlegroups.com.
I found the answer:for delete all queues in a specific vhost(in this example client) :rabbitmqadmin -u admin -p "mypassword" -f tsv -q list queues name > q.txt
for i in `cat q.txt`; do rabbitmqctl delete_queue "$i" --vhost=client; done:)