...
Table of Contents |
---|
maxLevel | 3 |
---|
minLevel | 3 |
---|
location | top |
---|
style | border:1 |
---|
location | top |
---|
type | flat |
---|
separator | pipe |
---|
|
...
Syntax
...
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. - XPath: If this option is selected, the Filter mediator tests the given XPath/JSONPath expression as a Boolean expression. When specifying a JSONPath, use the format
json-eval(<JSON_PATH>) , such as json-eval(getQuote.request.symbol) . For more information on using JSON with
|
the - the ESB profile, see JSON Support.
- Source and Regular Expression: If this option is selected, the Filter mediator matches the evaluation result of a source XPath/JSONPath expression as a string against the given regular expression.
|
Source | The expression to locate the value that matches the regular expression that you can define in the Regex parameter. Info |
---|
| You can click NameSpaces to add namespaces if you are providing an expression. Then the Namespace Editor panel would appear where you can provide any number of namespace prefixes and URLs used in the XPath expression. |
|
Regex | The regular expression to match the source value. |
Info |
---|
|
You can configure the mediator using XML. Click switch to source view in the Mediator window. 
|
...