[rabbitmq-discuss] Queue / Exchange Purge

Alexandru Scvorţov alexandru at rabbitmq.com
Wed Dec 22 14:51:31 GMT 2010

Hi Steven,

Exchanges are just message routers.  You publish messages to them, and
they route the messages to queues immediately, based on the routing
keys.  Exchanges *never* hold messages, so purging them doesn't really
make sense.

What are you trying to achieve?


On Wed, Dec 22, 2010 at 01:32:41PM +0000, Steven Taylor wrote:
> Hi,
> is there equivilent to purge queue for an exchange?  If we can't already, it
> would be nice to be able to purge with a routing key.  I see
> an ExchangeDelete. Perhaps I should delete and then redeclare.
> Currently I'm using non-durable queues, and taking down the broker +
> restarting it. I just wanted something a little simpler to execute. This is
> a test phase request.
> thanks,
> -Steven

> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

More information about the rabbitmq-discuss mailing list