An other feature or in Oracle SOA Suite is the default routing rule in the mediator. To show how that all works i have made a small example:
A mediator component that routes depending on the amount of the

In the mediator i defined two rules:

- Rule 1 when amount > 10 then a build order process will be started
- Rule 1 when amount > <5 then a manual order process will be started
I have made a gap between the rules to test the working of the Default Routing Rule.
To create a default rule just add a rule and click on the filter icon with the green circle. It will turn red to indicate that it’s a Default Rule. Also the Filter expression will be filled with the text ‘>>Default Routing Rule’

Then i deployed the composite to my Weblogic Server and tested it with three kinds of values. And they worked as expected:
- amount 15 triggered the BuildOrderProcess
- amount 2 triggered the ManualOrderProcess
- amount 7 triggered the DefaultRuleProcess
Great feature to let the messages alway’s pass the mediator. Use this feature not for know routes but use it as a catch all feature. Because you don’t know what the message is containing.
Popularity: 3% [?]
Theo van Arem is a Integration specialist working at 

