activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <>
Subject Re: Retrieve number of pending messages in the queue
Date Thu, 16 Sep 2010 15:21:41 GMT
On Thu, 2010-09-16 at 08:18 -0700, lopan wrote:
> Isn't there an easier built-in method to accomplish this?

You can browse a Q using the QueueBrowser object.

C++ doesn't speak JMX so if you want something more then the broker
statistics plugin is about you only option to access the broker's
internal state.

> Also, the link you posted says:
> "To configure ActiveMQ to use the statistics plugin, just add the following
> to the ActiveMQ XML configuration"

That would be the activemq.xml in your conf folder.

> There are several XML config files, which one is it refering to?
> Thanks.


Tim Bish

Open Source Integration:

Follow me on Twitter:
My Blog:

View raw message