Listing brokers in a non-default JMX context
If the broker is running in a JMX context other than the default, you need to pass
the --jmxurl option to the list task, as
follows:
activemq-admin list --jmxurl
service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi