The BAM mediator captures data events from the ESB mediation sequences and sends them to the WSO2 Business Activity Monitor server via its Thrift API. This API uses a binary protocol and enables fast data transmission between the ESB and BAM server.
For more information on BAM, see the BAM documentation.
Before you can configure a BAM mediator, you must have configured a BAM server profile and stream. You can then add the BAM mediator to a sequence (when adding a mediator, choose Agent -> BAM) and specify the BAM server profile and stream you want to use to start capturing and sending data events to the BAM server. Be sure to enable statistics on the sequence to start collecting the data.
The following properties can be configured for the BAM mediator.
Server Profile: The BAM server profile that contains the transport and credential data required to connect to the BAM Thrift server.
Stream Name: The stream used to identify the data to be extracted from the configuration context of the mediation sequence.
Stream Version: The version of the stream used.
Seein the BAM documentation for an example.