[rabbitmq-discuss] [ Listen event when queue destroy from client ]

Michael Klishin mklishin at gopivotal.com
Mon Jul 7 13:19:13 BST 2014


On 7 July 2014 at 14:23:52, Hitesh Dobariya (hitesh at artoonsolutions.com) wrote:
> > This code is not working. Please check code that i am sending  
> you.

Except that it does but you have a condition in the consumer that filters out deliveries
from amq.rabbitmq.event.

Change your consumer to

queue.subscribe(function (message, headers, deliveryInfo, messageObject) {

and you will see event info printed. 

Staff Software Engineer, Pivotal/RabbitMQ

More information about the rabbitmq-discuss mailing list