Introduction
The Mediator engine and the Business Activity Monitoring (BAM) connector are used less frequently than the BPMN and BPEL engines, but there are still performance considerations when using these technologies. The Mediator engine is a relatively simple component, yet it works in quite a complex way, giving us only a few options for tuning it. These options are all focused on the execution of parallel routing rules, as sequential routing rules run on a single thread, and keep that thread until the rule has completed executing. Parallel rules, on the other hand, are executed by retrieving a list of requests from the database, and then processing each request using a set of worker threads. These threads allow the requests to be processed in parallel.
The BAM Adapter does not have many properties that can be tuned, but we do look at one improvement here that can improve performance.