You can connect to one of two alternative JMX connectors (IP ports), in order to manage the MBeans in an Apache ActiveMQ broker instance. As shown in Figure 5.1, you can connect either to the JMX connector exposed by the Java Virtual Machine (JVM) or to the JMX connector exposed directly by the broker.
The Apache ActiveMQ JMX connector is a dedicated IP port that enables you to monitor the MBeans inside the broker instance (and only those MBeans). It is enabled by default.
The JVM platform JMX connector is an IP port that enables you to monitor all of the MBeans that are active in the JVM instance, including the MBeans in the broker. This JMX connector is not used by default, but is automatically activated, if you disable the Apache ActiveMQ JMX connector.