Hi Gordon, Thank you for your help and the sample code!
On Thu, May 19, 2011 at 10:47 AM, Gordon Sim <g...@redhat.com> wrote: > On 05/19/2011 02:51 PM, Phil Brown wrote: > >> I am fairly new to qpid and trying to learn the ropes. >> >> From what I understand, there is no way, through the C++ Messaging API, >>> to >>> >> get the number of messages in a queue. How can this be done? Is there >> any >> sample code? >> >> Any help would be greatly appreciated!!! >> > > Querying and managing the broker is achieved by sending specially formatted > map messages to a special address and then handling the response(s) if > necessary. > > The attached example shows a simple query of a queue by name. Only the > message depth is printed but there a range of other stats and properties in > the response. > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:users-subscr...@qpid.apache.org >