# Conditional Router Mediator

The Conditional Router mediator can be used to specify the routing of the message according to given conditions. Mediator checks whether the
'Condition' evaluates to true and mediates using the target sequence. Matching route will break the router if the 'Break after route' is set to true.

Figure 1: Conditional Router Mediator

## Configurations

User can define any number of routes. Each and every route must contain a 'condition' which is to be evaluated and a predefined 'Target' sequence,
which will be used to mediate further.

Figure 2: Route Configuration

- Continue after routing: (Yes/No), Whether to continue the routing if any of the child routes are executed. The default value is No.
- Break after route : If set to true, matching route will break the router.
- Evaluator Expression : Route condition .
- Target Sequence : Target sequence need to be provided as registry key/local entry to do further mediate processing.