activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <>
Subject Re: How to find consumers on an exiting ActiveMQ Queue in c#
Date Wed, 26 Jul 2017 14:59:11 GMT
On 07/26/2017 09:38 AM, zaeem wrote:
> Is there a way in C# to do following
> a) Find All Queues
> b) For each Queue, find the count of consumers and Id/Name of Consumer
> c) For each Queue, find the count of produces and Id/Name of Producer
> I have used NMS but it does not give me a way of finding Consumer count for
> a Queue or name of the consumer.
> Zaeem
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at
You can use the Statistics Broker plugin to query for information on the 
destination in question.

There's even a nice example on StackOverflow on using it with C#

To gather other information on the broker from .NET you could monitor 
advisory topics like the producer / consumer instances which will tell 
you a bit about what is going on at the broker side as well.

Tim Bish
twitter: @tabish121

View raw message