Hi Steve,

Thank you for your help!

On Thu, May 19, 2011 at 10:48 AM, Steve Huston <[email protected]> wrote:

> Hi Phil,
>
> > I am fairly new to qpid and trying to learn the ropes.
>
> Great - welcome!
>
> > From what I understand, there is no way, through the C++
> > Messaging API, to get the number of messages in a queue.
>
> Correct.
>
> > How can this be done?  Is there any sample code?
>
> You can get this info using QMF (Qpid Management Framework). I don't
> know the mechanics offhand, but you can check the qpid-tool and/or
> qmf-tool - they're python scripts that you can use to get that info.
> Once you figure out what they're doing to get it, you can translate to
> C++.
>
> Or someone with more QMF knowledge may jump in here and shorten that
> process :-)
>
> -Steve
>
> --
> Steve Huston, Riverace Corporation
> Total Lifecycle Support for Your Networked Applications
> http://www.riverace.com
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
>
>

Reply via email to