[rabbitmq-discuss] How to get messages count which are not consumed from queue?

Srinath Sridharan -X (srinatsr - ZENSAR TECHNOLOGIES INC at Cisco) srinatsr at cisco.com
Tue May 13 19:27:26 BST 2014


Thanks Michael.

Can I have a piece of sample code in Java.  I have my queue declared and how to see the response for queue.declare-ok ??

Regards ……
Srinath

-----Original Message-----
From: rabbitmq-discuss [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Michael Klishin
Sent: Tuesday, May 13, 2014 10:50 AM
To: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] How to get messages count which are not consumed from queue?

 On 13 May 2014 at 21:33:17, Srinath Sridharan -X (srinatsr - ZENSAR TECHNOLOGIES INC at Cisco) (srinatsr at cisco.com) wrote:
> > I need to get only messages count which are not consumed ?

Declare a queue and see the response (queue.declare-ok). Passive declare is sufficient.
--
MK  

Software Engineer, Pivotal/RabbitMQ
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list