The ManagedRegionBroker keeps track of subscriptions.  Inside that broker
class it keeps track of queueSubscribers and topicSubscribers.  The maps
store SubscriptionView objects and they have a method called
getMessageCountAwaitingAcknowledgement() that you could use.

ManagedRegionBroker will be one of the brokers in the chain and you can get
access to it from a BrokerPlugin.

On Thu, Jun 11, 2015 at 5:31 AM, xabhi <xabh...@gmail.com> wrote:

> Hi,
>
> I am not sure what to do when you say "using JMX to iterate over each
> subscription", Where will you do this inside a broker plugin? do you mean
> to
> create jmx connection and get those stats?
> Can we not access those stats directly inside a broker plugin?
>
> Thanks,
> Abhi
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/How-to-get-number-of-unacknowledged-messages-on-the-broker-tp4697616p4697658.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to