JMX Connector

The JMX Connector uses the JMX 1.2 and JMX Remote API 1.0 specifications. It only uses standard JMX features. You can refer to the information provided here to know further about it.

The JMX Connector can listen to, and report, either local or remote JMX notifications, depending on how it is configured.

When the AssemblyLine starts the JMX Connector is initialized. On initialization, the Connector determines whether it will report local or remote notifications based on the Connector parameters (the Connector cannot report both local and remote notifications in a single run). Then, the Connector gets either a local or a remote reference to the respective MBean Server and registers for the desired JMX notifications specified in a Connector parameter.

In the getNextEntry() method, the Connector blocks the AssemblyLine while waiting for notifications. When a notification is received, the getNextEntry() method of the Connector returns an Entry (which contains the notification details) to the AssemblyLine.

Notifications that are received between successive getNextEntry() calls are buffered, so that no notifications are lost. If there are buffered notifications when the getNextEntry() is called, then the Connector returns the first buffered notification immediately without blocking the AssemblyLine.

This Connector operates in Iterator mode only.