[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find all producers and consumers irrespective of the status

What's available via JMX is what there is, but depending on exactly what
you want, it may or may not be what you're looking for.

It will include connected consumers, but not disconnected ones, though if
you have any durable topic consumers that are offline, you can get info
about the subscription itself. It will include connected non-anonymous
producers, but not anonymous ones since (if I remember correctly) they
connect and disconnect for each message, and not disconnected producers.

If that's not good enough, you can write a custom plugin that intercepts
the method calls when connections are added and removed, to keep track of
them in a custom data structure you create. See
http://activemq.apache.org/interceptors.html for more information on


On Dec 19, 2017 2:29 AM, "Chinna" <sravanraireddy@xxxxxxxxx> wrote:

> Hi,
> I am new to activemq, i want to know all the producers and consumers
> irrespective of the status(active and inactive) which are communicate with
> the particular broker. is there any way to find out in activemq ?
> Thanks in advance.
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html