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
loadStatisticsEnabled
property onorg.apache.camel.spi.ManagementStrategy
. - ExecutorServiceManager
- Since Apache Camel 2.11, added
shutdownGraceful
, andawaitTermination
methods to theExecutorServiceManager
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 methodnewThread
toorg.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 theorg.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 onGenericFileConsumer
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 toorg.apache.camel.api.management.mbean.ManagedBacklogTracerMBean
. - StreamCache
- Since Apache Camel 2.12, added new
inMemory
andlength
methods toorg.apache.camel.StreamCache
. - ManagementNamingStrategy
- Since Apache Camel 2.12, changed the parameter type,
ProcessorDefinition
, toNamedNode
, on thegetObjectNameForProcessor
method in theorg.apache.camel.spi.ManagementNamingStrategy
interface. - TypeConverterRegistry
- Since Apache Camel 2.12, added
removeTypeConverter
method toorg.apache.camel.spi.TypeConverterRegistry
. - TypeConverter
- Since Apache Camel 2.12, added the
allowNull
method to theorg.apache.camel.TypeConverter
interface. - ShutdownStrategy
- Since Apache Camel 2.12, added
hasTimeoutOccurred
method to theShutdownStrategy
interface. - ManagementNamingStrategy
- Since Apache Camel 2.12, changed the parameter type,
ProcessorDefinition
, toNamedNode
on thegetObjectNameForProcessor
method in theorg.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
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
Moved classes
Since Apache Camel version 2.11, the following classes have moved to a different package:
HBaseConstants
has moved fromorg.apache.camel.component.hbase
toorg.apache.camel
.
Since Apache Camel version 2.12, the following classes have moved to a different package or renamed:
ManagedTracerBacklogMBean
has been renamed toManagedBacklogTracerMBean
in theorg.apache.camel.api.management.mbean
package.