Have you tried to use MBeanServerConnection.queryNames(ObjectName objName,
QueryExp query).

You need to construct ObjectName with wildcard for Connection ID:
new
ObjectName("org.apache.activemq:BrokerName="+brokerName+",Type=Connection,ConnectorName=openwire,Connection=*")

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Get-list-of-connections-through-JMX-tp3815517p3815719.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to