An embedded broker is a broker in the same JVM process. It's not possible for the code posted to give connection counts for a broker in another JVM as the code is walking the internal data structures of the broker, which are only accessible from the same JVM (unless some debugging magic is also involved).
-- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676726.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.