Broker querying
Several commands are available to query the broker. To address local brokers, you'll need to use the --jmxlocal parameter. The following command displays available brokers:
karaf@trun> activemq:list --jmxlocal
BrokerName = mybroker
For more detailed information, run:
karaf@trun> activemq:query --jmxlocal
It will display informations about the connectors, list of queues, and so on. You can also browse or purge queues using the activemq:browse and activemq:purge commands.