Monitoring Event Buses with JMX

The final approach to monitoring is to use JMX (Java Management Extensions). With this option, you can plug in your enterprise monitoring tools (or a JMX client like VisualVM) to track event buses and jobs alike.

To enable monitoring, just add a call to DataEndpoint.enableJmx(); somewhere early in your code (like in a static initializer).

Mobile Analytics