This documentation is for WSO2 Enterprise Integrator version 6.1.1 . View documentation for the latest release in the 6.x.x family and the latest release in the 7.x.x family.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel3
minLevel3
locationtop
styleborder:1
locationtop
typeflat
separatorpipe

...

Syntax

...

The parameters available for configuring the Filter mediator are as follows:

Parameter NameDescription
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
titleTip

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. 

RegexThe regular expression to match the source value.
Info
titleNote

You can configure the mediator using XML. Click switch to source view in the Mediator window.

...