2.6. EIP 更改


  • 每个 EIPs 上删除了 &lt ;description> 的 lang 属性。
  • InOnlyInOut EIPs 已被删除。反之,使用 SetExchangePattern 或 to 指定要使用的交换模式。

2.6.1. poll Enrich EIP

轮询的端点 URI 现在作为属性存储在 Exchange 上(带有键 CamelToEndpoint),与其他 EIPs 一样。在 URI 作为消息标头存储之前。

2.6.2. CircuitBreaker EIP

camel-resilience4j 中的以下选项被错误地定义为属性:

Expand

选项

bulkheadEnabled

bulkheadMaxConcurrentCalls

bulkheadMaxWaitDuration

timeoutEnabled

timeoutExecutorService

timeoutDuration

timeoutCancelRunningFuture

这些选项没有在 YAML DSL 中公开,在您需要迁移的 XML DSL 中:

<circuitBreaker>
    <resilience4jConfiguration>
        <timeoutEnabled>true</timeoutEnabled>
        <timeoutDuration>2000</timeoutDuration>
    </resilience4jConfiguration>
...
</circuitBreaker>
Copy to Clipboard Toggle word wrap

使用以下属性:

<circuitBreaker>
    <resilience4jConfiguration timeoutEnabled="true" timeoutDuration="2000"/>
...
</circuitBreaker>
Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat