Using parallel routing rules in Mediator components
Mediator routing rules can be set to parallel or sequential execution. Using parallel execution can improve performance.
Getting ready
You will need to have JDeveloper, and have a good understanding of SOA Suite programming concepts.
How to do it...
These steps show us how to configure parallel routing rules:
Using JDeveloper, open the Mediator file that contains the rules that you wish to execute in parallel.
If the routing rules are not visible, click on + to expand them:
From the drop-down list, select Parallel.
Save the file.
How it works...
The Mediator can execute routing rules either in parallel or sequentially. Parallel rules are executed at the same time in separate threads, using an algorithm that ensures that no rule can use up all of the threads, and starve another rule from executing. Each parallel rule is initiated in a new transaction, and that transaction is committed (or rolled back) by the Mediator process, once the rule has executed...