Package org.apache.camel.support
Base classes that help to implement the camel API and are expected to be extended by the user
-
Interface Summary Interface Description LRUCache<K,V> A least-recently-used cache.PropertyBindingListener Listener when using Camel property binding (org.apache.camel.support.PropertyBinding).PropertyBindingSupport.OnAutowiring RestConsumerContextPathMatcher.ConsumerPath<T> Consumer path details which must be implemented and provided by the components.SimpleTypeConverter.ConversionMethod -
Class Summary Class Description AsyncCallbackToCompletableFutureAdapter<T> AsyncCallback that provides aCompletableFuture
completed when async action is doneAsyncProcessorConverterHelper A simple converter that can convert anyProcessor
to anAsyncProcessor
.AsyncProcessorHelper Helper methods forAsyncProcessor
objects.AsyncProcessorSupport BreakpointSupport A support class forBreakpoint
implementations to use as base class.BridgeExceptionHandlerToErrorHandler AnExceptionHandler
that uses theDefaultConsumer
to process the caused exception to send the message into the Camel routing engine which allows to let the routing engine handle the exception.CamelContextHelper A number of helper methodsCamelObjectInputStream ChildServiceSupport Base class to control lifecycle for a set of childService
s.ClassicUuidGenerator The classic (Camel 2.x)UuidGenerator
optimized for Camel usage.ConstantExpressionAdapter A helper class for developers wishing to implement anExpression
using Java code with a minimum amount of code to write so that the developer only needs to implement one of theExpressionAdapter.evaluate(Exchange, Class)
orExpressionSupport.evaluate(Exchange)
methods.CustomizersSupport CustomizersSupport.ComponentCustomizationEnabledPolicy AComponentCustomizer.Policy
that uses a hierarchical lists of properties to determine if customization is enabled for the givenComponent
.CustomizersSupport.DataFormatCustomizationEnabledPolicy ADataFormatCustomizer.Policy
that uses a hierarchical lists of properties to determine if customization is enabled for the givenDataFormat
.CustomizersSupport.LanguageCustomizationEnabledPolicy ALanguageCustomizer.Policy
that uses a hierarchical lists of properties to determine if customization is enabled for the givenLanguage
.DefaultAsyncProducer A default implementation ofProducer
for implementation inheritance, which can processExchange
s asynchronously.DefaultComponent Default component to use for base for components implementations.DefaultConsumer A default consumer useful for implementation inheritance.DefaultContextReloadStrategy DefaultContextReloadStrategy
.DefaultDataFormat A default dataformat useful for implementation inheritance.DefaultEndpoint DefaultEndpoint
.DefaultEndpointUtilizationStatistics DefaultExchange The default and only implementation ofExchange
.DefaultExchangeHolder Holder object for sending an exchange over a remote wire as a serialized object.DefaultHeaderFilterStrategy The default header filtering strategy.DefaultInterceptSendToEndpoint This is an endpoint when sending to it, is intercepted and is routed in a detour (before and optionally after).DefaultLRUCacheFactory DefaultLRUCacheFactory
which uses aLinkedHashMap
based implementation.DefaultMessage The default implementation ofMessage
DefaultMessageHistory DefaultMessageHistory
.DefaultPollingConsumerPollStrategy A default implementation that will not retry on rollback.DefaultPollingEndpoint A base class for an endpoint which the default consumer mode is to use aPollingConsumer
DefaultPooledExchange The default and only implementation ofPooledExchange
.DefaultProducer A default implementation ofProducer
for implementation inheritance.DefaultRegistry The defaultRegistry
which supports using a given first-choice repository to lookup the beans, such as Spring, JNDI, OSGi etc.DefaultScheduledPollConsumer A default implementation of an event drivenConsumer
which uses thePollingConsumer
DefaultScheduledPollConsumerScheduler The default scheduler forScheduledPollConsumer
.DefaultThreadPoolFactory Factory for thread pools that uses the JDKExecutors
for creating the thread pools.DefaultTimeoutMap<K,V> Default implementation of theTimeoutMap
.DefaultUuidGenerator DefaultUuidGenerator
(32 chars) optimized for Camel usage.DeferProducer AProducer
that defers being started, untilCamelContext
has been started, this ensures that the producer is able to adapt to changes that may otherwise occur during starting CamelContext.EmptyAsyncCallback An emptyAsyncCallback
which allows to share the same instance instead of creating a new instance for each message.EndpointHelper Some helper methods for working withEndpoint
instancesEventDrivenPollingConsumer A default implementation of thePollingConsumer
which uses the normal asynchronous consumer mechanism along with aBlockingQueue
to allow the caller to pull messages on demand.EventHelper Helper for easily sending event notifications in a single line of codeEventNotifierSupport Base class to extend for customEventNotifier
implementations.ExchangeHelper Some helper methods for working withExchange
objectsExpressionAdapter A helper class for developers wishing to implement anExpression
using Java code with a minimum amount of code to write so that the developer only needs to implement one of theExpressionAdapter.evaluate(org.apache.camel.Exchange, Class)
orExpressionSupport.evaluate(org.apache.camel.Exchange)
methods.ExpressionComparator An implementation ofComparator
that takes anExpression
which is evaluated on each exchange to be comparedExpressionListComparator An implementation ofComparator
which takes a list ofExpression
objects which is evaluated on each exchange to compare themExpressionSupport A useful base class forPredicate
andExpression
implementationsExpressionToPredicateAdapter To adaptExpression
as aPredicate
FileWatcherResourceReloadStrategy A file basedResourceReloadStrategy
which watches a file folder for modified files and reload on file changes.GroupIterator GroupTokenIterator GZIPHelper Helper class to help wrapping content into GZIP input and output streams.HeaderFilterStrategyComponent Base class for components to support configuring aHeaderFilterStrategy
.HeaderSelectorProducer A selector-based producer which uses a header value to determine which processor should be invoked.InputStreamIterator AnInputStream
that wraps anIterator
which reads iterations as byte array data.IntrospectionSupport Deprecated. useBeanIntrospection
LanguageSupport Base language forLanguage
implementations.LazyStartProducer AProducer
which is created and started lazy, on the first message processed.LifecycleStrategySupport A useful base class forLifecycleStrategy
implementations.LocalBeanRegistry A special registry which is used for local beans.LoggerHelper Helper for logging purposes.LoggingExceptionHandler A default implementation ofExceptionHandler
which uses aCamelLogger
to log the exception.LRUCacheFactory Factory to createLRUCache
instances.MessageHelper Some helper methods when working withMessage
.MessageSupport A base class for implementation inheritance providing the coreMessage
body handling features but letting the derived class deal with headers.NoLock Empty lock implementationNormalizedUri Implementation ofNormalizedEndpointUri
.ObjectHelper A number of useful helper methods for working with ObjectsOffUuidGenerator UuidGenerator
which is turned off for exchange ids, but generated UUIDs for everything else.OrderedComparator A comparator to sortOrdered
PatternHelper PlatformHelper Deprecated. PollingConsumerSupport A useful base class for implementations ofPollingConsumer
PooledObjectFactorySupport<T> Base class for buildingPooledObjectFactory
based factories.PredicateAssertHelper A helper for doingPredicate
assertions.PredicateToExpressionAdapter To adaptPredicate
as anExpression
ProcessorEndpoint An endpoint which allows exchanges to be sent into it which just invokes a givenProcessor
.ProcessorPollingConsumer A simple implementation ofPollingConsumer
which just uses aProcessor
.PropertyBindingSupport A convenient support class for binding String valued properties to an instance which uses a set of conventions: property placeholders - Keys and values using Camels property placeholder will be resolved nested - Properties can be nested using the dot syntax (OGNL and builder pattern using with as prefix), eg foo.bar=123 map - Properties can lookup in Map's using map syntax, eg foo[bar] where foo is the name of the property that is a Map instance, and bar is the name of the key. list - Properties can refer or add to in List's using list syntax, eg foo[0] where foo is the name of the property that is a List instance, and 0 is the index.PropertyBindingSupport.Builder To use a fluent builder style to configure this property binding support.PropertyConfigurerHelper Helper class for dealing with configurers.PrototypeObjectFactorySupport<T> PooledObjectFactory
that creates a new instance (does not pool).ResolverHelper Some helper methods for new resolvers (likeComponentResolver
,DataFormatResolver
, etc.).ResolverHelper.LookupExceptionHandler ResourceHelper Helper class for loading resources on the classpath or file system.ResourceReloadStrategySupport Base class for implementing customResourceReloadStrategy
SPI plugins.ResourceResolverSupport Base class forResourceResolver
implementations.ResourceSupport Base class forResource
implementations.RestComponentHelper Helper class for rest-dsl components.RestConsumerContextPathMatcher A context path matcher when using rest-dsl that allows components to reuse the same matching logic.RestProducerFactoryHelper Helper for creating configuredComponent
s used by theRestProducerFactory
contract.RouteOnDemandReloadStrategy Strategy for triggering on-demand reloading of Camel routes in a running Camel application.RoutePolicySupport A base class for developing customRoutePolicy
implementations.RoutesBuilderLoaderSupport Base class forRoutesBuilderLoader
implementations.RouteTemplateHelper Helper for working with route templates.RouteWatcherReloadStrategy Watcher strategy for triggering reloading of Camel routes in a running Camel application.ScheduledBatchPollingConsumer A useful base class for any consumer which is polling batch basedScheduledPollConsumer A useful base class for any consumer which is polling basedScheduledPollConsumerHealthCheck HealthCheck
that uses the last polling state fromScheduledPollConsumer
when reporting the health.ScheduledPollEndpoint A base class forEndpoint
which creates aScheduledPollConsumer
ScriptHelper ShortUuidGenerator UuidGenerator
that is 50% the size of the default (16 chars) optimized for Camel usage.SimpleEventNotifierSupport Base class to extend for customEventNotifier
implementations.SimpleRegistry AMap
-based registry.SimpleTypeConverter Another base class forTypeConverter
implementations.SimpleUuidGenerator This implementation uses a counter which increments by one.SingleInputLanguageSupport Base class forLanguage
implementations that support different sources of input data.SingleInputTypedLanguageSupport Base class forLanguage
implementations that support a result type and different sources of input data.SupplierRegistry Used for storing beans that are supplied via aSupplier
.SynchronizationAdapter SimpleSynchronization
adapter with empty methods for easier overriding of single methods.SynchronousDelegateProducer To process the delegated producer in synchronous mode.TimeoutMapEntry<K,V> Represents an entry in aTimeoutMap
TimerListenerManager ATimerListener
manager which triggers theTimerListener
listeners once every second.TypeConverterSupport Base class forTypeConverter
implementations.TypedLanguageSupport Base class forLanguage
implementations that support a result type.TypedProcessorFactory<T extends org.apache.camel.NamedNode> UnitOfWorkHelper Utility methods forUnitOfWork
VanillaUuidGenerator Deprecated. this is now the default uuid generator in Camel 3.6 onwards.