Filter
1. Overview
The Filter can filter a message using a filter strategy. A filter strategy returns a boolean value. Based on this value and the value of the inverse attribute, either the message is passed along, or is sent to the discard flow .
The filter can be used as a simple router service .
The filter strategy will have to be defined in a Bean.
In the table below, you will find an explanation of these properties.
All attributes with a * are mandatory.
| Attribute | Description |
|---|---|
Name* |
By default, we fill this out with the technical tag, followed by a serial number. Changing the name is optional. |
Enabled |
Set this value to true, if you want this service to be enabled. |
Filter Strategy* |
Reference to an implementation of a filter-strategy. This can either be a script or a bean implementing MyESBFilterStrategy. A script must return true or false. |
Discard Flow |
Reference to a flow for messages, for which the strategy filter returns false. |
Inverse |
Switch to invert strategy result. |
Description |
Description of the specific service. This is for documentation purposes. |