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

Michael Klishin mklishin at gopivotal.com
Mon Jul 7 10:09:39 BST 2014


+rabbitmq-discuss. Also, please start a new thread for new questions.

On 7 July 2014 at 13:05:15, Hitesh Dobariya (hitesh at artoonsolutions.com) wrote:
> > Is this correct code, please reply i am not getting any event  
> on this. i checked with management plugin & exchange is appearing  
> on the panel but i am not receiving any event on queue.

Is the message rate on the exchange > 0 when you declare/delete queues?

> connection.queue("eventListener", function(queue){
> queue.bind("amq.rabbitmq.event",'#');
>  
> queue.subscribe(function (message, headers, deliveryInfo,  
> messageObject) {
> console.log(deliveryInfo);
> })
>  
> });

What client do you use? The code looks reasonable. 
--  
MK  

Staff Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list