Does Apache ActiveMQ support JMX?

Does Apache ActiveMQ support JMX?

Apache ActiveMQ has extensive support for JMX to allow you to monitor and control the behavior of the broker via the JMX MBeans. You can enable/disable JMX support as follows…

How do I change the sunjmx_start property in ActiveMQ?

Find the “ACTIVEMQ_SUNJMX_START=” line and change it too the following: (note that in previous versions of ActiveMQ this property was called SUNJMX in some scripts. As of v5.12.0 all scripts use ACTIVEMQ_SUNJMX_START):

What is the ActiveMQ configuration file for?

The activemq.xml configuration file allows you to configure how ActiveMQ is exposed to JMX for management. In some cases, you may need to tweak some of it’s settings such as what port is used. In 4.0.1 or later, on Java 1.5 or later we try and use the default platform MBeanServer (so that things like the JVM threads & memory settings are visible).

Does JConsole show historical data about ActiveMQ’s metrics?

Although JConsole doesn’t show historical data about ActiveMQ’s metrics, you can view timeseries data about JVM resource usage. You can graph the JVM’s memory and CPU usage metrics, and also the count of classes and threads used by the JVM. These visualizations can help you spot trends in your JVM’s performance.

author

Back to Top