...
In this case, the Filter condition remains the same and the succeeded messages will be mediated using the the set of mediators enclosed in the "then" element in sequence, while failed messages will be mediated using the set of mediators enclosed in the "else" element in sequence.
...
UI Configuration
Here are the configuration options related to the Filter Mediator:The parameters available for configuring the Filter mediator are as follows:
Parameter Name | Description |
---|---|
Specify As | This is used to specify whether you want to specify the filter criteria via an XPath expression or a regular expression.
|
Source | The expression to locate the value that matches the regular expression that you can define in the Regex parameter. |
Regex | The regular expression to match the source value. |
- Specify As - Specifies whether you give the condition as an XPath or a Regular expression.
- XPath - XPath or JSONPath expression if you selected "XPath" for "Specify As". When specifying a JSONPath, use the format
json-eval(<JSON_PATH>)
, such asjson-eval(getQuote.request.symbol)
. For more information on using JSON with the ESB, see JSON Support. Source- Expression to locate the value that matches the regular expression that you can define below.
Info title Tip Click the "Namespaces" link to add namespaces if you are providing an expression. You will be provided another panel named "Namespace Editor," where you can provide any number of namespace prefixes and URL that you have used in the XPath or JSONPath expression.
...