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.第 54 章 predicate Filter Action
基于 JsonPath 表达式过滤
54.1. 配置选项 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
下表总结了可用于 predicate-filter-action
Kamelet 的配置选项:
属性 | Name | 描述 | 类型 | 默认 | Example |
---|---|---|---|---|---|
表达式 * | 表达式 | 要评估的 JsonPath 表达式,没有外部圆括号。由于这是一个过滤器,因此表达式将是一个模糊的,这意味着如果示例中的 foo 字段等于 John,因此信息将提前执行,否则它将会被过滤。 | 字符串 |
|
注意
带星号(*)标记的字段是必需的。