搜索

3.6. 弃用的 API 和组件

download PDF

Camel 3 中删除了来自 Camel 2.x 的所有已弃用的 API 和组件。

3.6.1. 删除的组件

Camel 2.x 中的所有已弃用的组件都在 Camel 3.x 中删除,包括旧的 camel-http, camel-hdfs, camel-mina, camel-mongodb, camel-netty, camel-netty-http, camel-quartz, camel-restletcamel-rx 组件。

  • 删除了 camel-jibx 组件。
  • 删除了 camel-boon 数据格式。
  • 删除了 camel-linkedin 组件,因为 不再支持 Linkedin API 1.0。对新 2.0 API 的支持由 CAMEL-13813 跟踪。
  • camel-zookeeper 删除了其路由策略功能,而是使用 ZooKeeperClusterServicecamel-zookeeper-master 组件。
  • camel-jetty 组件不再支持制作者(已被删除),改为使用 camel-http 组件。
  • Twitter -streaming 组件已被删除,因为它依赖于已弃用的 Twitter Streaming API,不再可以正常工作。

3.6.2. 重命名组件

在 Camel 3.x 中重命名以下组件。

  • camel -microprofile-metrics 已重命名为 camel-micrometer
  • 测试 组件已重命名为 dataset-test,并从 camel-core 移到 camel-dataset JAR 中。
  • http4 组件已重命名为 http,它对应于从 org.apache.camel.component.http4org.apache.camel.component.http 的组件软件包。现在,支持的方案只能是 httphttps
  • hdfs2 组件已重命名为 hdfs,它对应于从 org.apache.camel.component.hdfs2org.apache.camel.component.hdfs 的组件软件包。现在支持的方案是 hdfs
  • mina2 组件已重命名为 mina,它对应于来自从 org.apache.camel.component.mina2org.apache.camel.component.mina 2 的软件包。现在支持的方案是 mina
  • mongodb3 组件已重命名为 mongodb,它对应于从 org.apache.camel.component.mongodb3org.apache.camel.component.mongodb 的组件软件包。现在支持的方案是 mongodb
  • netty4-http 组件已重命名为 netty-http,它对应于从 org.apache.camel.component.netty4.httporg.apache.camel.component.netty.http 的组件软件包。现在支持的方案是 netty-http
  • netty4 组件已重命名为 netty,它对应于从 org.apache.camel.component.netty4org.apache.camel.component.netty 的组件软件包。现在支持的方案是 netty
  • quartz2 组件已重命名为 quartz,它对应于从 org.apache.camel.component.quartz2org.apache.camel.component.quartz 的组件软件包。现在支持的方案是 quartz
  • rxjava2 组件已重命名为 rxjava,它对应于从 org.apache.camel.component.rxjava2org.apache.camel.component.rxjava 的组件软件包。
  • camel-jetty9 重命名为 camel-jetty。现在,支持的方案是 jetty
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.