Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.此内容没有您所选择的语言版本。
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] toorg.apache.camel.component.hbase.HBaseConstants. - ManagementStrategy
- Since Apache Camel 2.11, added getter/setter methods for the
loadStatisticsEnabledproperty onorg.apache.camel.spi.ManagementStrategy. - ExecutorServiceManager
- Since Apache Camel 2.11, added
shutdownGraceful, andawaitTerminationmethods to theExecutorServiceManagerclass 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 methodnewThreadtoorg.apache.camel.spi.ExecutorServiceManagerto 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 theorg.apache.camel.Componentinterface 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
isMatchedmethod onGenericFileConsumeris abstract and has an extra parameter. - ManagedTracerBacklogMBean renamed
- Since Apache Camel 2.12, the
org.apache.camel.api.management.mbean.ManagedTracerBacklogMBeaninterface has been renamed toorg.apache.camel.api.management.mbean.ManagedBacklogTracerMBean. - StreamCache
- Since Apache Camel 2.12, added new
inMemoryandlengthmethods toorg.apache.camel.StreamCache. - ManagementNamingStrategy
- Since Apache Camel 2.12, changed the parameter type,
ProcessorDefinition, toNamedNode, on thegetObjectNameForProcessormethod in theorg.apache.camel.spi.ManagementNamingStrategyinterface. - TypeConverterRegistry
- Since Apache Camel 2.12, added
removeTypeConvertermethod toorg.apache.camel.spi.TypeConverterRegistry. - TypeConverter
- Since Apache Camel 2.12, added the
allowNullmethod to theorg.apache.camel.TypeConverterinterface. - ShutdownStrategy
- Since Apache Camel 2.12, added
hasTimeoutOccurredmethod to theShutdownStrategyinterface. - ManagementNamingStrategy
- Since Apache Camel 2.12, changed the parameter type,
ProcessorDefinition, toNamedNodeon thegetObjectNameForProcessormethod in theorg.apache.camel.spi.ManagementNamingStrategyinterface.
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
org.apache.camel.model.NodeFactory
org.apache.camel.component.gae.context.GaeSpringCamelContext
Since Apache Camel version 2.12, the following classes have been removed:
Moved classes 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Since Apache Camel version 2.11, the following classes have moved to a different package:
HBaseConstantshas moved fromorg.apache.camel.component.hbasetoorg.apache.camel.
Since Apache Camel version 2.12, the following classes have moved to a different package or renamed:
ManagedTracerBacklogMBeanhas been renamed toManagedBacklogTracerMBeanin theorg.apache.camel.api.management.mbeanpackage.