[rabbitmq-discuss] Queue / Exchange Purge

Steven Taylor taylste at gmail.com
Wed Dec 22 14:37:50 GMT 2010


 code: ch.QueuePurge(queueName,false);

The AMQP operation was interrupted: AMQP close-reason, initiated by Peer,
code=404, text="NOT_FOUND - no queue 'm.w' in vhost '/'", classId=50,
methodId=30, cause=

First off, this error relates to an exchange routing key, so slightly
expected. What wasn't expected was the error message should have had the
right queue name 'm.w.ctr'.  'm.w' is the queue (not bound to an exchange)
that failed earlier when I tried to purge it because it wasn't yet created.

let me try something else...

If I first create the queue 'm.w' and then attempted to purge it, I still
get the same error message as above.

Is anybody else seeing this behaviour?


On 22 December 2010 13:32, Steven Taylor <taylste at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20101222/a87b9970/attachment.htm>

More information about the rabbitmq-discuss mailing list