此内容没有您所选择的语言版本。

3.4. API Changes


API changes

The following changes have been made to the Java API:
HBase component
Since Apache Camel 2.11, renamed org.apache.camel.component.hbase.HBaseContats [sic] to org.apache.camel.component.hbase.HBaseConstants.
ManagementStrategy
Since Apache Camel 2.11, added getter/setter methods for the loadStatisticsEnabled property on org.apache.camel.spi.ManagementStrategy.
ExecutorServiceManager
Since Apache Camel 2.11, added shutdownGraceful, and awaitTermination methods to the ExecutorServiceManager class to make it easier to shut down a thread pool gracefully, while waiting for its tasks to complete.
Since Apache Camel 2.11, added the method newThread to org.apache.camel.spi.ExecutorServiceManager to create a new thread without using a thread pool.
org.apache.camel. Component interface
Since Apache Camel 2.11, added a new method, useRawUri, to the org.apache.camel.Component interface to allow components to use raw URIs when creating endpoints. (by default the URI has been encoded prior to creation).
GenericFileConsumer
Since Apache Camel 2.11, the isMatched method on GenericFileConsumer is abstract and has an extra parameter.
ManagedTracerBacklogMBean renamed
Since Apache Camel 2.12, the org.apache.camel.api.management.mbean.ManagedTracerBacklogMBean interface has been renamed to org.apache.camel.api.management.mbean.ManagedBacklogTracerMBean.
StreamCache
Since Apache Camel 2.12, added new inMemory and length methods to org.apache.camel.StreamCache.
ManagementNamingStrategy
Since Apache Camel 2.12, changed the parameter type, ProcessorDefinition, to NamedNode, on the getObjectNameForProcessor method in the org.apache.camel.spi.ManagementNamingStrategy interface.
TypeConverterRegistry
Since Apache Camel 2.12, added removeTypeConverter method to org.apache.camel.spi.TypeConverterRegistry.
TypeConverter
Since Apache Camel 2.12, added the allowNull method to the org.apache.camel.TypeConverter interface.
ShutdownStrategy
Since Apache Camel 2.12, added hasTimeoutOccurred method to the ShutdownStrategy interface.
ManagementNamingStrategy
Since Apache Camel 2.12, changed the parameter type, ProcessorDefinition, to NamedNode on the getObjectNameForProcessor method in the org.apache.camel.spi.ManagementNamingStrategy interface.

Removed classes

Since Apache Camel version 2.11, the following classes have been removed:
org.apache.camel.model.NodeFactory
org.apache.camel.component.gae.context.GaeSpringCamelContext
Copy to Clipboard Toggle word wrap
Since Apache Camel version 2.12, the following classes have been removed:
org.apache.camel.processor.UnitOfWorkProcessor
org.apache.camel.processor.ChildUnitOfWorkProcessor
org.apache.camel.processor.RouteContextProcessor
org.apache.camel.processor.RouteInflightRepositoryProcessor
org.apache.camel.processor.RoutePolicyProcessor
org.apache.camel.processor.interceptor.BacklogTracerInterceptor
Copy to Clipboard Toggle word wrap

Moved classes

Since Apache Camel version 2.11, the following classes have moved to a different package:
  • HBaseConstants has moved from org.apache.camel.component.hbase to org.apache.camel.
Since Apache Camel version 2.12, the following classes have moved to a different package or renamed:
  • ManagedTracerBacklogMBean has been renamed to ManagedBacklogTracerMBean in the org.apache.camel.api.management.mbean package.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat