Red Hat Camel K is no longer supported.
As of June 30, 2025, Red Hat build of Camel K has reached End of Life. The suggested replacements is Red Hat build of Apache Camel. For details about moving, see the Camel K to Camel Quarkus migration guide.第 55 章 predicate Filter Action
基于 JsonPath 表达式过滤
55.1. 配置选项 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
下表总结了 predicate-filter-action Kamelet 可用的配置选项:
| 属性 | 名称 | 描述 | 类型 | 默认 | 示例 |
|---|---|---|---|---|---|
| expression * | 表达式 | 要评估的 JsonPath 表达式,没有外部圆括号。由于这是一个过滤器,表达式将是负效果,这意味着如果示例的 foo 字段等于 John,则消息将提前过滤,否则它将被过滤掉。 | 字符串 |
|
注意
带有星号 packagemanifests 的字段是必需的。