Monitoring scenarios

Events can be used to support transaction monitoring, transaction auditing, and business process monitoring.

Transaction monitoring and auditing

The events that are published by IBM® Integration Bus can be written to a transaction repository, creating an audit trail of the transactions that are processed by an integration node. A transaction repository can be used for monitoring, auditing, and replay of transactions. Bitstream data can be included so that failed transactions can be resubmitted. You can view the results of your business transaction monitoring in the web user interface.
To set up transaction monitoring and auditing, complete the following tasks.
Configure events for your transactions
In most cases, bitstream information alone is not sufficient to allow querying of the logged transactions. Key fields and other correlation data can be extracted from the message payload and placed into the wmb:applicationData/wmb:simpleContent or wmb:applicationData/wmb:complexContent element of the event. The logging application or message flow can extract these fields and log them with the message bit stream.
Configure a business transaction monitoring definition
The business transaction monitoring definition contains information about the flows that participate in the transaction and the events that describe the transaction. This definition includes information such as which flows mark the beginning and end of a transaction, and which events correspond to a failure in the transaction.
Subscribe to the event topic and write events to a repository
You can create a message flow that subscribes to the event topic and writes events to a relational database. The details of the database schema depend on the requirements of your organization, for example the number of key fields and transaction IDs.

Business process monitoring

The events published by an integration node can be monitored by IBM Business Monitor. Important fields in the message payload can be added to the events emitted by your message flows, allowing them to be monitored. You can use the following items to help you use IBM Business Monitor to monitor your message flows:
Message-driven bean
The events must be submitted to the CEI repository for IBM Business Monitor to monitor them. A message-driven bean is supplied for this purpose. The message-driven bean, which runs in WebSphere® Application Server, subscribes to the event topic and writes events that match its subscription to the CEI repository as Common Base Event events.