Filter mediator is used to match or filter the message of a given xpath.
If we give only the xpath then it will return true or false. If we give regular expression, the string returned from evaluating the XPath will be matched against the regular expression.
There are two ways of operation
- Specify the XPath (boolean expression), return true or false
- XPath will be matched against the regular expression, return true or false