How to delete the default exchanges amq.*

479 views
Skip to first unread message

Manfred Halper

unread,
Jun 28, 2017, 3:58:48 AM6/28/17
to rabbitmq-users
After I finished my setup of RabbitMQ I'm in the cleanup stage. I tried to delete all the default exchanges but I get the following *** Access refused: /api/exchanges/%2F/amq.direct

I deleted the vhost but every time I create a new one it comes packed with the default exchanges.

I use the following command when I try to delete the exchanges: rabbitmqadmin -u rabbit -p "*****" delete exchange name='amq.direct'

What am I doing wrong or are these excahgnes undeleteable? 

Michael Klishin

unread,
Jun 28, 2017, 4:02:44 AM6/28/17
to rabbitm...@googlegroups.com
Every vhost must have them per AMQP 0-9-1 spec.

--
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 post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Staff Software Engineer, Pivotal/RabbitMQ

Manfred Halper

unread,
Jun 28, 2017, 4:07:53 AM6/28/17
to rabbitm...@googlegroups.com, Michael Klishin

Thanks for the prompt answer.

Cheers,

Manfred.

You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/FjaMxp2jeNw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages