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 可用的配置选项:
属性 | 名称 | 描述 | 类型 | 默认 | 示例 |
---|---|---|---|---|---|
expression the | 表达式 | 用于评估的 JsonPath 表达式,无需外部父项。由于这是一个过滤器,表达式将是一个负点,这意味着如果示例的 foo 字段等于 John,则消息将提前进行过滤,否则它将被过滤掉。 | 字符串 |
|
注意
标记为星号的字段是必需的。