[rabbitmq-discuss] queue deletion

Emile Joubert emile at rabbitmq.com
Fri Jun 29 11:00:17 BST 2012


Hi Sujan,

On 29/06/12 10:28, Sujan Dutta wrote:
> // if the queue is deleted, i was expecting that consumer would get
> shutdown event, like if we shutdown the rabbitmq server.
> // is it possible by setting any parameter ? any help

You should override HandleBasicCancel to be notified when a queue is
deleted. A test that illustrates is available in the source:

projects/client/Unit/src/unit/TestConsumerCancelNotify.cs


-Emile



More information about the rabbitmq-discuss mailing list