Package org.apache.camel
The core Camel API.
-
Interface Summary Interface Description AfterPropertiesConfigured To perform optional initialization on an element after its properties has been configured.AggregationStrategy A strategy for aggregating two exchanges together into a single exchange.ApiEndpoint Marks theEndpoint
as an endpoint from an API based component.AsyncCallback The callback interface for anAsyncProcessor
so that it can notify you when anExchange
is done.AsyncEndpoint Marks theEndpoint
as support asynchronous non-blocking routing in its consumer and producer.AsyncProcessor An asynchronous processor which can process anExchange
in an asynchronous fashion and signal completion by invoking theAsyncCallback
.AsyncProducer Asynchronous producerBatchConsumer A consumer of a batch of message exchanges from anEndpoint
BinaryPredicate A predicate which evaluates a binary expression.Builder<T> CamelConfiguration Configuration class for Camel applications.CamelContext Interface used to represent the CamelContext used to configure routes and the policies to use during message exchanges between endpoints.CamelContextAware An interface to represent an object which wishes to be injected with theCamelContext
CamelContextLifecycle Lifecycle API forCamelContext
.CatalogCamelContext Catalog level interface for theCamelContext
Channel Channel acts as a channel betweenProcessor
s in the route graph.Component ComponentAware An interface to represent an object which wishes to be injected with aComponent
.Consumer A consumer of message exchanges from anEndpoint
.ConsumerTemplate DelegateEndpoint An interface to represent anEndpoint
which are delegated.DelegateProcessor Interface to be used for processors that delegate to the real processorEndpoint An endpoint implements the Message Endpoint pattern and represents an endpoint that can send and receive message exchangesEndpointAware EndpointConsumerResolver An interface to represent an object that can be resolved as a consumerEndpoint
EndpointProducerResolver An interface to represent an object that can be resolved as a producerEndpoint
ErrorHandlerFactory Factory for creatingErrorHandler
s.Exchange Expression An expression provides a plugin strategy for evaluating expressions on a message exchange.ExpressionFactory A factory for creatingExpression
ExtendedCamelContext ExtendedCamelContext
which contains the methods and APIs that are not primary intended for Camel end users but for SPI, custom components, or more advanced used-cases with Camel.ExtendedExchange ExtendedExchange
which contains the methods and APIs that are not intended for Camel end users but used internally by Camel for optimization purposes, SPI, custom components, or more advanced used-cases with Camel.ExtendedStartupListener ExtendedStartupListener
that is invoked when theCamelContext
is fully started.FluentProducerTemplate GlobalEndpointConfiguration Global endpoint configurations which can be set as defaults when Camel creates newEndpoint
s.IsSingleton Used for defining if a given class is singleton or not.LineNumberAware An entity that can point to a given line number from a sourceResource
such as YAML and XML DSL parsers.Message MessageHistory Represents the history of a CamelMessage
how it was routed by the Camel routing engine.MultipleConsumersSupport Endpoint
can optionally implement this interface to indicate whether or not it supports multiple consumers.NamedNode Represents a node in theroutes
which is identified by an id.NamedRoute Represents a node in theroutes
which is identified as a route.Navigate<T> Implementations support navigating a graph where you can traverse forward and each next returns aList
of outputs of type T that can contain 0..n nodes.NonManagedService A marker to indicate theService
should not be registered in JMX for management.Ordered Interface to be implemented by objects that should be orderable, such as with aCollection
.PollingConsumer Represents a Polling Consumer where the caller polls for messages when it is ready.PollingConsumerPollingStrategy Strategy that allowsConsumer
s to influence thePollingConsumer
.PooledExchange PooledExchange
which contains the methods and APIs that are not intended for Camel end users but used internally by Camel for optimizing memory footprint by reusing exchanges created byConsumer
s viaExchangeFactory
.PooledExchange.OnDoneTask Task to execute when the exchange is done.Predicate Evaluates a binary predicate on the message exchange.PredicateFactory A factory for creatingPredicate
Processor A processor is used to implement the Event Driven Consumer and Message Translator patterns and to process message exchanges.Producer Provides a channel on which clients can create and invoke message exchanges on anEndpoint
.ProducerTemplate PropertiesLookupListener Listener to trigger when the properties component is looking up and found a property.Route A Route defines the processing used on an inbound message exchange from a specificEndpoint
within aCamelContext
.RouteAware RouteConfigurationsBuilder A route configurations builder is capable of building route configurations using the builder and model classes.RoutesBuilder A routes builder is capable of building routes using the builder and model classes.RouteTemplateContext The context used during creating aRoute
from a route template.RouteTemplateContext.BeanSupplier<T> Used for template beans to supply the local bean the route template should use when creating route(s).RuntimeConfiguration Various runtime configuration options used byCamelContext
andRoute
for cross cutting functions such as tracing, delayer, stream cache and the like.SafeCopyProperty An interface that allows safe copy (deep clone) of property value object when creating copy of Exchange objects.Service Represents the core lifecycle API for services which can be initialized, started and stoppedShutdownableService AService
which is capable of being shut down.SSLContextParametersAware Indicates that an object is able to use the globalSSLContextParameters
if configured.StartupListener Allows objects to be notified whenCamelContext
has almost done all work when starting.StartupStep Recording state of steps during startup to capture execution time, and being able to emit events to diagnostic tools such as Java Flight Recorder.StatefulService AService
which has all the lifecycle events and offers details about its current state.StaticExpression Marked if theExpression
orPredicate
is based from a constant value (ie is static).StaticService Marker for indicating theService
is a static service (only one instance perCamelContext
).StreamCache Tagging interface to indicate that a type is capable of caching the underlying data stream.Suspendable Marker interface to indicate a custom component has custom implementation for suspending theSuspendableService
service.SuspendableService AService
which is also capable of suspending and resuming.TimeoutMap<K,V> Represents a map of values which timeout after a period of inactivity.TimeoutMap.Listener<K,V> TimerListener Listener for receiving timer events.Traceable Traceable processors allowing easier tracing using constructed labels to help identify the processor and where it's defined in the route model.TypeConverter A pluggable strategy to be able to convert objects to different types such as to and from String, InputStream/OutputStream, Reader/Writer, Document, byte[], ByteBuffer etcTypeConverters A tagging interface to mark this class implements type converters using theConverter
annotations.WrappedFile<T> Wraps a file. -
Class Summary Class Description ExchangeConstantProvider Generated by camel build tools - do NOT edit this file!ValueHolder<V> Holder object for a given value. -
Enum Summary Enum Description BeanScope Category This enum set various categories options into the UriEndpoint.ExchangePattern Represents the kind of message exchange patternExchangePropertyKey An enum of common and known keys for exchange properties used by camel-core.LoggingLevel Used to configure the logging levelsManagementMBeansLevel Level of mbeans for registrationManagementStatisticsLevel Level of granularity for performance statistics enabledServiceStatus Represents the status of aService
instanceShutdownRoute Represents the options available when shutting down routes.ShutdownRunningTask Represents the kind of options for what to do with the current task when shutting down.StartupSummaryLevel Controls the level of information logged during startup (and shutdown) ofCamelContext
.TimeoutMap.Listener.Type TypeConverterExists What to do if attempting to add a duplicate type converterWaitForTaskToComplete Represent the kinds of options for wait for tasks to complete. -
Exception Summary Exception Description AlreadyStoppedException Exception thrown in situations when aService
has already been stopped.CamelAuthorizationException An exception thrown for either authentication or authorization errors occurring in a Camel exchange.CamelException Base class for all Camel checked exceptions typically thrown by aProcessor
CamelExchangeException An exception caused by a specific messageExchange
CamelExecutionException Exception occurred during execution/processing of anExchange
.CamelUnitOfWorkException AUnitOfWork
failed with a number of caused exceptions.ExchangeTimedOutException An exception thrown if an InOut exchange times out receiving the OUT messageExpectedBodyTypeException Thrown if the body could not be converted to the required typeExpressionEvaluationException An exception thrown if evaluation of the expression failed.ExpressionIllegalSyntaxException An exception thrown if the expression contains illegal syntax.FailedToCreateConsumerException Thrown if Camel failed to create a consumer for a given endpoint.FailedToCreateProducerException Thrown if Camel failed to create a producer for a given endpoint.FailedToCreateRouteException Exception when failing to create aRoute
.FailedToCreateRouteFromTemplateException Exception when failing to create aRoute
from a RouteTemplateDefinition.FailedToStartComponentException Exception when failing to start aComponent
.FailedToStartRouteException Exception when failing to start aRoute
.InvalidPayloadException Is thrown if the payload from the exchange could not be retrieved because of being null, wrong class type etc.InvalidPayloadRuntimeException Runtime version of theInvalidPayloadException
.InvalidPropertyException An exception caused when an invalid property name is used on an objectLoadPropertiesException Represents a failure to open a Properties file at a given URLNoFactoryAvailableException Thrown if no factory resource is available for the given URINoSuchBeanException A runtime exception if a given bean could not be found in theRegistry
NoSuchEndpointException A runtime exception thrown if a routing processor such as a recipient list is unable to resolve anEndpoint
from a URI.NoSuchHeaderException An exception caused when a mandatory header is not available on a messageExchange
NoSuchHeaderOrPropertyException NoSuchLanguageException A runtime exception thrown if an attempt is made to resolve an unknown language definition.NoSuchPropertyException An exception caused when a mandatory property is not available on a messageExchange
NoTypeConversionAvailableException An exception thrown if a value could not be converted to the required typePropertyBindingException Error binding property to a bean.ProxyInstantiationException Exception indicating a failure while trying to create a proxy of a given type and on a given endpointResolveEndpointFailedException A runtime exception thrown if anEndpoint
cannot be resolved via URIRollbackExchangeException Exception used for forcing an Exchange to be rolled back.RuntimeCamelException Base class for all Camel unchecked exceptions.RuntimeExchangeException A runtime exception caused by a specific messageExchange
RuntimeExpressionException Thrown if an expression evaluation failsRuntimeTransformException Thrown if a message transformation failsStreamCacheException TypeConversionException Exception when failing during type conversion.TypeConverterExistsException Exception when failing to add type converters due there is already an existing type converter.TypeConverterLoaderException Exception when failing to load type converters.ValidationException The base class for any validation exception, such asorg.apache.camel.processor.validation.SchemaValidationException
so that it is easy to treat all validation errors in a similar way irrespective of the particular validation technology used.VetoCamelContextStartException An exception to veto startingCamelContext
. -
Annotation Types Summary Annotation Type Description BeanConfigInject Used to indicate an injection point of a configuration bean (obtained from theRegistry
, or a new instance is created) into a POJO.BeanInject Used to indicate an injection point of a bean obtained from theRegistry
, into a POJO.BindToRegistry Used for binding a bean to the registry.Body Marks a parameter as being the body of an inboundMessage
Configuration Marks the class as aCamelConfiguration
class.Consume Converter An annotation used to mark classes and methods to indicate code capable of converting from a type to another type which are then auto-discovered using the Type Conversion SupportDeferredContextBinding Used to indicate that if the target type isCamelContextAware
, the context does not need to be mandatory injected during bean post processing but can be injected later on as example during Camel Context configuration.DynamicRouter Indicates that this method is to be used as a Dynamic Router routing the incoming message through a series of processing steps.EndpointInject ExchangeException Marks a parameter as being the exception set on an exchangeExchangeProperties Marks a parameter as being an injection point of the exchange properties of anExchange
ExchangeProperty Marks a parameter as being an injection point of a property of anExchange
Experimental An experimental user-facing API.FallbackConverter Deprecated. use @Converter(fallback = true) insteadHandler Marks a method on a POJO as being the preferred method to invoke when Camel looks for methods to invoke using theBeanEndpoint
.Header Marks a parameter as being a header on an inboundMessage
Headers Marks a parameter as being an injection point of the headers of an inboundMessage
InOnly Marks methods as beingExchangePattern.InOnly
for one way asynchronous invocation when using Bean Integration to overload the default value which isExchangePattern.InOut
for request/reply if no annotations are used.InOut Marks a method as beingExchangePattern.InOut
when a class or interface has been annotated withInOnly
when using Bean Integration.Pattern Marks a method as having a specific kind ofExchangePattern
for use with Bean Integration to overload the default value which isExchangePattern.InOut
for request/reply if no annotations are used.Produce PropertyInject Used to indicate an injection point of a property placeholder into a POJO.RecipientList Indicates that this method is to be used as a Dynamic Recipient List routing the incoming message to one or more endpoints.RoutingSlip Indicates that this method is to be used as a Routing Slip routing the incoming message through a series of processing steps.