About this task
You can set a When link to filter messages according to a condition and route those filtered messages:
- Simply select the When link of your routing to display the related Basic settings view of the Components tab.
- In the Type list, select the type of condition you want to use in the routing.
In the Condition field, type in the
condition you want to use to filter your messages.
When executing your Route, messages matching the condition defined in the when link will be passed to the following component and messages not matching it can either be lost or retrieved via an otherwise link. For more information, see Catch connection settings and for a scenario using those links, see cMessageRouter.