activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Is there any method to get the list of active connections and sessions using broker service.
Date Thu, 25 Jul 2013 08:46:31 GMT
there is no session view mbean but you can extrapolate sessions from
consumer/producers because they are all composed from the connection

The transportConnector view gives a list of connections on a given
transport and there is an MBean per connection.

use broker.getManagementContext().queryNames(null, null); to get a
list of all mbeans of filter to using a connector mbean wildcard.
There are a bunch of utility methods that can help with mbean object
name creation:

On 25 July 2013 00:09, karraj84 <> wrote:
> Hi,
> I am trying to get the list of available connections and sessions from a
> activemq server using broker service. I am seeing method for getting list of
> subscribers, producers/consumers using QueueViewMBean object but not for
> connections or sessions.
> Any suggestions will be truly appreciated.
> Thanks in advance,
> Karthikeyan K
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message