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

Michael Klishin michael.s.klishin at gmail.com
Tue May 13 19:49:18 BST 2014


2014-05-13 22:27 GMT+04:00 Srinath Sridharan -X (srinatsr - ZENSAR
TECHNOLOGIES INC at Cisco) <srinatsr at cisco.com>:

> I have my queue declared and how to see the response for queue.declare-ok
> ??


Channel#queueDeclare returns AMQP.Queue.DeclareOk. If you take a look at
the Javadoc,

http://www.rabbitmq.com/releases/rabbitmq-java-client/v3.3.1/rabbitmq-java-client-javadoc-3.3.1/com/rabbitmq/client/AMQP.Queue.DeclareOk.html#getMessageCount()

is pretty easy to find.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140513/e0def9a0/attachment.html>


More information about the rabbitmq-discuss mailing list