4.5. 弃用的 API 和组件
Camel 2.x 中的所有已弃用的 API 和组件都已在 Camel 3 中删除。
4.5.1. 删除的组件
Camel 2.x 中的所有已弃用的组件都在 Camel 3.x 中删除,包括旧的 camel-http
, camel-hdfs
, camel-mina
, camel-mongodb
, camel-netty
, camel-netty-http
, camel-quartz
, camel-restlet
和 camel-rx
组件。
-
删除了
camel-jibx
组件。 -
删除了
camel-boon
数据格式。 -
删除了
camel-linkedin
组件,因为 Linkedin API 1.0 不再被支持。对新的 2.0 API 的支持由 CAMEL-13813 跟踪。 -
camel-zookeeper
删除了其路由策略功能,而是使用ZooKeeperClusterService
或camel-zookeeper-master
组件。 -
camel-jetty
组件不再支持 producer (已删除),改为使用camel-http
组件。 -
Twitter
-streaming
组件已被删除,因为它依赖于已弃用的 Avahi Streaming API,且不再可以正常工作。
4.5.2. 重命名组件
以下组件在 Camel 3.x 中进行了重命名。
-
Camel-microprofile-metrics
已重命名为camel-micrometer
-
测试
组件已被重命名为dataset-test
,并从camel-core
移到camel-dataset
JAR。 -
http4
组件已重命名为http
,它对应于从org.apache.camel.component.http4
到org.apache.camel.component.http
的组件软件包。支持的方案现在是http
和https
。 -
hdfs2
组件已重命名为hdfs
,它对应于从org.apache.camel.component.hdfs2
到org.apache.camel.component.hdfs
的组件软件包。支持的方案现在是hdfs
。 -
mina2
组件已重命名为mina
,它对应于来自从org.apache.camel.component.mina2
到org.apache.camel.component.mina
2 的软件包。支持的方案现在是mina
。 -
mongodb3
组件已重命名为mongodb
,它对应于从org.apache.camel.component.mongodb3
到org.apache.camel.component.mongodb
的组件软件包。支持的方案现在是mongodb
。 -
netty4-http
组件已重命名为netty-http
,它对应于从org.apache.camel.component.netty4.http
到org.apache.camel.component.netty.http
的组件软件包。支持的方案现在是netty-http
。 -
netty4
组件已重命名为netty
,它对应于从org.apache.camel.component.netty4
到org.apache.camel.component.netty
的组件软件包。支持的方案现在是netty
。 -
quartz2
组件已重命名为quartz
,它对应于从org.apache.camel.component.quartz2
到org.apache.camel.component.quartz
的组件软件包。支持的方案现在是quartz
。 -
rxjava2
组件已重命名为rxjava
,它对应于从org.apache.camel.component.rxjava2
到org.apache.camel.component.rxjava
的组件软件包。 -
将
camel-jetty9
重命名为camel-jetty
。支持的方案现在是jetty
。