Skip to main content

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!