Message flows can be configured to emit events. The events can be read and used by other applications for transaction monitoring, transaction auditing, and business process monitoring.
A monitoring event is an XML document that conforms to the monitoring event schema. Each event contains the following information:
See The monitoring event for more details
An event source address identifies an event source in a message flow.
Because terminal events can be emitted from any node in a message flow, they can be used as an alternative to dedicated event-emitting nodes or subflows such as that supplied in SupportPac IA9V.
Event sources emit events only if monitoring is activated for the message flow.
Any terminal in a message flow can be an event source. If the event source is active, it emits an event each time a message passes through the terminal, subject to the evaluation of the eventFilter expression; see Event output options.
Event source | Event source address | Description |
---|---|---|
Transaction start | Nodename.transaction.Start | The event is emitted when the message is read from the transport. |
Transaction end | Nodename.transaction.End | The event is emitted when IBM Integration Bus has completed all processing of the message. |
Transaction rollback | Nodename.transaction.Rollback | The event is emitted instead of transaction end if the message flow throws an exception which is not caught and processed within the message flow. |
Events are emitted subject to the evaluation of the eventFilter expression; see Event output options.
If a message flow handles its own exceptions, a transaction end event, rather than a transaction rollback event, is issued, because the flow has taken control of the error and terminated normally. In this case, if you need to distinguish errors, you can configure terminal events at appropriate nodes in the flow.
$Body/StockTrade/Details/Value > 10000
This
can reduce the number of events that are emitted, and reduce the workload
on your monitoring application.3 >= $Root/MQMD/BackoutCount
$SYS/Broker/brokerName/Monitoring/integrationServerName/flowName
The hierarchical structure allows subscribers to filter the events which they receive. One subscriber can receive events from all message flows in the broker, while another receives only the events from a single integration server.