Hi; we recently added support for Spring ApplicationEvents to the framework, such that events are emitted when certain conditions occur.
The events are all subclasses of IntegrationEvent.
Currently events are emitted by the IP module when TCP connections are opened, closed or experience exceptions. The mail module also generates an event when the IMAP Idle channel adapter cannot connect to the mail server.
These (and any) ApplicationEvents can be easily published as JMX notifications by wiring up an <event:inbound-channel-adapter/> to a <jmx:notification-publishing-channel-adapter/>.
We are now looking for additional candidate conditions for which events should be published.
If you have any specific conditions in mind, please let us know.