On 07/27/2011 06:36 AM, Nithesh Shetty wrote:
Any api to get the depth of queue
and to purge all the messages in the queue
You have several options. Either you can use tools provided (qpid-stat
and qpid-tool), or you can use the QMF (Qpid Management Framework)
APIs[1], or you can directly send management messages using the
management API. There are examples of both these tasks given in the
following mails:
http://mail-archives.apache.org/mod_mbox/qpid-users/201105.mbox/%[email protected]%3E
http://mail-archives.apache.org/mod_mbox/qpid-users/201008.mbox/%[email protected]%3E
[1] The APIs are available from:
For python:
https://svn.apache.org/repos/asf/qpid/trunk/qpid/extras/qmf/src/py/qmf/console.py
or in the qpid-qmf download
For c++:
https://svn.apache.org/repos/asf/qpid/trunk/qpid/cpp/include/qmf also
part of qpid-cpp
I'm not aware of any documentation for these APIs and am myself not
terribly familiar with them.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]