[rabbitmq-discuss] [ Listen event when queue destroy from client ]
Michael Klishin
mklishin at gopivotal.com
Mon Jul 7 13:29:52 BST 2014
+rabbitmq-discuss: please, please CC the mailing list.
On 7 July 2014 at 16:25:26, Hitesh Dobariya (hitesh at artoonsolutions.com) wrote:
> > is it working only on local server? i added this code in amqp.js
> file as you mentioned in previous mail. but still i am not getting
> any other event like queue.created, queue.deleted etc on the
> amqp.js.
It should not matter whether RabbitMQ node is local or not. I highly recommend
not using passive declares unless you get comfortable with the code. Right now
your scripts depend on their start order, for example.
I only modified queue.js. I see the same code commented out in amqp.js, both sharing
a queue. If you want *both* consumers to get a message copy, you need to use two queues.
See http://www.rabbitmq.com/getstarted.html and http://www.rabbitmq.com/tutorials/amqp-concepts.html
if this is not clear.
--
MK
Staff Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss
mailing list