rabbitmq-server
rabbitmq-server copied to clipboard
Consider introducing a command that deletes all queues in a vhost
Can potentially be very dangerous but also occasionally useful. Suggested by @Gsantomaggio.
This is the way:
for vh in $(rabbitmqctl list_vhosts -s); do for q in $(rabbitmqctl list_queues name -s --vhost $vh) ; do rabbitmqctl delete_queue --vhost $vh $q; done done
I added other rabbitmqctl
commands here
it is open for a while, can we close it? @michaelklishin