第 60 章 Predicate Filter Action
Filter based on a JSONPath Expression. Since this is a filter, the expression is a negation. This means that if the foo field of the example is equal to John, the message goes ahead. Otherwise it is filtered out.
60.1. Configuration Options 复制链接链接已复制到粘贴板!
The following table summarizes the configuration options available for the predicate-filter-action Kamelet:
| Property | Name | Description | Type | Default | Example |
|---|---|---|---|---|---|
| expression * | Expression |
The JSONPath Expression to evaluate, without the external parenthesis. Since this is a filter, the expression is a negation. This means that if the | string | @.foo =~ /.*John/ |
* = Fields marked with an asterisk are mandatory.