Business transaction monitoring involves monitoring a message across multiple message flows, so you can track and report the lifecycle of a payload message through an end-to-end enterprise transaction.
Business transaction monitoring enables you to track the outcomes of work passing through a message flow, allowing you to see which aspects of your business transaction are working correctly and which aspects are failing.
A start business transaction event typically corresponds with an input node in a message flow. This event signifies that when a message is received on that input node, the business transaction starts.
An end business transaction event typically corresponds with a transaction end event for an input node. This event signifies that when a message reaches the end of that flow, the business transaction is complete.
A failure business transaction event typically corresponds with a node that handles error processing. This event signifies that when a message reaches this node, the business transaction has failed.
A progress business transaction event can correspond with any type of node in a message flow. This event signifies that a message has reached a particular node in the flow.
You can use business transaction monitoring to track the lifecycle of a message through an end-to-end enterprise transaction. Business transaction monitoring uses events that are emitted from message flows, and a transaction is correlated across a set of events using the global transaction ID that is defined in an event. The global transaction ID can be inferred from an upstream node by using the Automatic property, or you can set it explicitly with an XPath expression.
For event monitoring, the presentation of data is event-oriented. For business transaction monitoring, presentation of data is transaction-oriented. Initially, business transaction data is presented as a summary of transactions. You can then view the details of the business transaction, the system-level transactions, and a list of events by inspecting individual transactions.
The web user interface is used to monitor business transactions. You create a business transaction definition to identify the message flows that form the business transaction, and define how they interact with each other. You can view the monitoring events that are defined for the message flows that make up the business transaction. Some of these events are significant to the business transaction. The business transaction definition defines how these events apply to the business transaction. Existing monitoring events can be selected as start, end, and failure events in the business transaction.
A default DataCapture policy specifies information to be used by the business transaction definition, such as the database location where the business data is stored. You set the database location by specifying the data source name in the Configure tab of the business transaction monitor when you create the business transaction definition; the default DataCapture policy is updated with the new data source name as a result. It is not necessary to make any other changes to the default DataCapture policy; however, if you want to change any other properties in the policy, you can modify it by using an external editor. For information about how to modify the policy, see Updating the default DataCapture policy. For more information, see Creating a business transaction definition and DataCapture policy.
The results of business transactions can also be viewed in the web user interface. You can see which instances of business transactions are in progress, which instances completed successfully, and which instances failed. Detailed information is also shown for the transaction-specific events of a business transaction.
The business transaction monitor in the web user interface has three tabs: Define, Configure, and View.
From the list of available events shown in the events table, you can select the role that an event has in the business transaction.
Use this tab to show the data source name that is used for recording events in your business transaction, and to show the monitoring status of message flows.
If a data source name has been set for the business transaction definition, the name is shown in this tab. You can select a different data source name by clicking Click here to modify the data source name, and then selecting the required name from the list that is displayed in the Data source configuration section of the Configuration window.
If no data source name has been specified for the business transaction definition, click Click here to specify a data source name, and then select the required data source name from the list that is displayed.
If you have selected message flows for which flow monitoring has not been enabled, a warning message is shown. You can enable flow monitoring in the web user interface at a message flow level, application level, or integration server level from the Servers section in the navigator.
The View tab consists of two sections: Transaction results and Detailed events.
To show only the instances that have a particular status, or instances with a specified global transaction ID, click Filter and then specify the selection criteria. For more information, see Filtering business transaction monitoring information.