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
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 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

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.