## Listing Available Brokers

### Listing brokers in the default JMX context

To list all the brokers running in the default JMX contect, type:

activemq-admin list

### 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