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> 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 aCompletableFuturecompleted when async action is doneAsyncProcessorConverterHelper A simple converter that can convert anyProcessorto anAsyncProcessor.AsyncProcessorHelper Helper methods forAsyncProcessorobjects.AsyncProcessorSupport BreakpointSupport A support class forBreakpointimplementations to use as base class.BridgeExceptionHandlerToErrorHandler AnExceptionHandlerthat uses theDefaultConsumerto 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 childServices.ClassicUuidGenerator The classic (Camel 2.x)UuidGeneratoroptimized for Camel usage.ConstantExpressionAdapter A helper class for developers wishing to implement anExpressionusing 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.Policythat uses a hierarchical lists of properties to determine if customization is enabled for the givenComponent.CustomizersSupport.DataFormatCustomizationEnabledPolicy ADataFormatCustomizer.Policythat uses a hierarchical lists of properties to determine if customization is enabled for the givenDataFormat.CustomizersSupport.LanguageCustomizationEnabledPolicy ALanguageCustomizer.Policythat uses a hierarchical lists of properties to determine if customization is enabled for the givenLanguage.DefaultAsyncProducer A default implementation ofProducerfor implementation inheritance, which can processExchanges asynchronously.DefaultComponent Default component to use for base for components implementations.DefaultConsumer A default consumer useful for implementation inheritance.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 DefaultLRUCacheFactorywhich uses aLinkedHashMapbased implementation.DefaultMessage The default implementation ofMessageDefaultMessageHistory 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 aPollingConsumerDefaultPooledExchange The default and only implementation ofPooledExchange.DefaultProducer A default implementation ofProducerfor implementation inheritance.DefaultRegistry The defaultRegistrywhich supports using a given first-choice repository to lookup the beans, such as Spring, JNDI, OSGi etc.DefaultScheduledPollConsumer A default implementation of an event drivenConsumerwhich uses thePollingConsumerDefaultScheduledPollConsumerScheduler The default scheduler forScheduledPollConsumer.DefaultThreadPoolFactory Factory for thread pools that uses the JDKExecutorsfor creating the thread pools.DefaultTimeoutMap<K,V> Default implementation of theTimeoutMap.DefaultUuidGenerator DefaultUuidGenerator(32 chars) optimized for Camel usage.DeferProducer AProducerthat defers being started, untilCamelContexthas been started, this ensures that the producer is able to adapt to changes that may otherwise occur during starting CamelContext.EmptyAsyncCallback An emptyAsyncCallbackwhich allows to share the same instance instead of creating a new instance for each message.EndpointHelper Some helper methods for working withEndpointinstancesEventDrivenPollingConsumer A default implementation of thePollingConsumerwhich uses the normal asynchronous consumer mechanism along with aBlockingQueueto 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 customEventNotifierimplementations.ExchangeHelper Some helper methods for working withExchangeobjectsExpressionAdapter A helper class for developers wishing to implement anExpressionusing 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 ofComparatorthat takes anExpressionwhich is evaluated on each exchange to be comparedExpressionListComparator An implementation ofComparatorwhich takes a list ofExpressionobjects which is evaluated on each exchange to compare themExpressionSupport A useful base class forPredicateandExpressionimplementationsExpressionToPredicateAdapter To adaptExpressionas aPredicateFileWatcherResourceReloadStrategy A file basedResourceReloadStrategywhich 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 AnInputStreamthat wraps anIteratorwhich reads iterations as byte array data.IntrospectionSupport Deprecated. useBeanIntrospectionLanguageSupport Base language forLanguageimplementations.LazyStartProducer AProducerwhich is created and started lazy, on the first message processed.LifecycleStrategySupport A useful base class forLifecycleStrategyimplementations.LocalBeanRegistry A special registry which is used for local beans.LoggerHelper Helper for logging purposes.LoggingExceptionHandler A default implementation ofExceptionHandlerwhich uses aCamelLoggerto log the exception.LRUCacheFactory Factory to createLRUCacheinstances.MessageHelper Some helper methods when working withMessage.MessageSupport A base class for implementation inheritance providing the coreMessagebody 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 UuidGeneratorwhich is turned off for exchange ids, but generated UUIDs for everything else.OrderedComparator A comparator to sortOrderedPatternHelper PlatformHelper Deprecated. PollingConsumerSupport A useful base class for implementations ofPollingConsumerPooledObjectFactorySupport<T> Base class for buildingPooledObjectFactorybased factories.PredicateAssertHelper A helper for doingPredicateassertions.PredicateToExpressionAdapter To adaptPredicateas anExpressionProcessorEndpoint An endpoint which allows exchanges to be sent into it which just invokes a givenProcessor.ProcessorPollingConsumer A simple implementation ofPollingConsumerwhich 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> PooledObjectFactorythat 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 customResourceReloadStrategySPI plugins.ResourceResolverSupport Base class forResourceResolverimplementations.ResourceSupport Base class forResourceimplementations.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 configuredComponents used by theRestProducerFactorycontract.RoutePolicySupport A base class for developing customRoutePolicyimplementations.RoutesBuilderLoaderSupport Base class forRoutesBuilderLoaderimplementations.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 HealthCheckthat uses the last polling state fromScheduledPollConsumerwhen reporting the health.ScheduledPollEndpoint A base class forEndpointwhich creates aScheduledPollConsumerScriptHelper ShortUuidGenerator UuidGeneratorthat is 50% the size of the default (16 chars) optimized for Camel usage.SimpleEventNotifierSupport Base class to extend for customEventNotifierimplementations.SimpleRegistry AMap-based registry.SimpleTypeConverter Another base class forTypeConverterimplementations.SimpleUuidGenerator This implementation uses a counter which increments by one.SupplierRegistry Used for storing beans that are supplied via aSupplier.SynchronizationAdapter SimpleSynchronizationadapter 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 aTimeoutMapTimerListenerManager ATimerListenermanager which triggers theTimerListenerlisteners once every second.TypeConverterSupport Base class forTypeConverterimplementations.TypedProcessorFactory<T extends org.apache.camel.NamedNode> UnitOfWorkHelper Utility methods forUnitOfWorkVanillaUuidGenerator Deprecated. this is now the default uuid generator in Camel 3.6 onwards.