activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Retrieve number of pending messages in the queue
Date Thu, 16 Sep 2010 15:06:35 GMT
On Thu, 2010-09-16 at 07:57 -0700, lopan wrote:
> Hi,
> 
> I am using activemq-cpp, I need a way to peek the next message in an
> specific queue (without removing the message) and get the number of pending
> messages in this queue. Surprinsingly, the documentation has no information
> about this.
> 
> Is there any way I can accomplish this?
> 
> Thanks.

You could use the Broker Statistics plugin:
http://activemq.apache.org/statisticsplugin.html

Regards


-- 
Tim Bish

Open Source Integration: http://fusesource.com

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/


Mime
View raw message