com.apama.adapters
Monitor IAFConnectionMonitor


This monitor can monitor the connection between an adapter and the correlator, and also the connection from the adapter to an external system, reporting the status on the com.apama.statusreport interface.

It uses the events in the com.apama.adapters package, to monitor the adapters, and produces events in the com.apama.statusreport package. This allows parts of an application that need to monitor the connection of the adapters do so. E.g. a scenario via the status block.

To use the connection monitor, first the client needs to create an instance of the connection monitor using the MonitorAdapter event. The client also needs to send in MonitorConnection events for each connection it needs to subscribe to. The client can then subscribe to the status information by using the com.apama.statusreport.Subscribe status. The precise details of what should go in those subscriptions can be seen in the documentation for MonitoringConstants, MonitorAdapter and MonitorAdapterConnection.
Since:
CMF 1.1.0
Version:
10.5
See Also:
com.apama.adapters.MonitoringConstants - This object contains the constants used in the status report subscription to indicate whether the client is subscribing to availability of the adapter, or adapter connection to the external system
com.apama.adapters.IAFAdapterStatusMonitor - The IAF status monitoring service that this connection monitor uses.
com.apama.statusreport.Status - The purpose of this service is to produce Status events from the com.apama.adapters events
Listens:
com.apama.adapters.MonitorAdapter - An event that requests that an adapter should be monitored, producing a status report stream
com.apama.adapters.MonitorAdapterConnection - An event that requests that a connection an adapter makes should be monitored, producing a status report stream