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 theEndpointas an endpoint from an API based component.AsyncCallback The callback interface for anAsyncProcessorso that it can notify you when anExchangeis done.AsyncEndpoint Marks theEndpointas support asynchronous non-blocking routing in its consumer and producer.AsyncProcessor An asynchronous processor which can process anExchangein an asynchronous fashion and signal completion by invoking theAsyncCallback.AsyncProducer Asynchronous producerBatchConsumer A consumer of a batch of message exchanges from anEndpointBinaryPredicate 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 theCamelContextCamelContextLifecycle Lifecycle API forCamelContext.CatalogCamelContext Catalog level interface for theCamelContextChannel Channel acts as a channel betweenProcessors 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 anEndpointwhich 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 consumerEndpointEndpointProducerResolver An interface to represent an object that can be resolved as a producerEndpointErrorHandlerFactory Factory for creatingErrorHandlers.Exchange Expression An expression provides a plugin strategy for evaluating expressions on a message exchange.ExpressionFactory A factory for creatingExpressionExtendedCamelContext ExtendedCamelContextwhich 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 ExtendedExchangewhich 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 ExtendedStartupListenerthat is invoked when theCamelContextis fully started.FluentProducerTemplate GlobalEndpointConfiguration Global endpoint configurations which can be set as defaults when Camel creates newEndpoints.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 sourceResourcesuch as YAML and XML DSL parsers.Message MessageHistory Represents the history of a CamelMessagehow it was routed by the Camel routing engine.MultipleConsumersSupport Endpointcan optionally implement this interface to indicate whether or not it supports multiple consumers.NamedNode Represents a node in therouteswhich is identified by an id.NamedRoute Represents a node in therouteswhich is identified as a route.Navigate<T> Implementations support navigating a graph where you can traverse forward and each next returns aListof outputs of type T that can contain 0..n nodes.NonManagedService A marker to indicate theServiceshould 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 allowsConsumers to influence thePollingConsumer.PooledExchange PooledExchangewhich 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 byConsumers viaExchangeFactory.PooledExchange.OnDoneTask Task to execute when the exchange is done.Predicate Evaluates a binary predicate on the message exchange.PredicateFactory A factory for creatingPredicateProcessor 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 specificEndpointwithin 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 aRoutefrom 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 byCamelContextandRoutefor 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 AServicewhich is capable of being shut down.SSLContextParametersAware Indicates that an object is able to use the globalSSLContextParametersif configured.StartupListener Allows objects to be notified whenCamelContexthas 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 AServicewhich has all the lifecycle events and offers details about its current state.StaticExpression Marked if theExpressionorPredicateis based from a constant value (ie is static).StaticService Marker for indicating theServiceis 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 theSuspendableServiceservice.SuspendableService AServicewhich 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 theConverterannotations.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 aServiceinstanceShutdownRoute 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 aServicehas 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 aProcessorCamelExchangeException An exception caused by a specific messageExchangeCamelExecutionException Exception occurred during execution/processing of anExchange.CamelUnitOfWorkException AUnitOfWorkfailed 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 aRoutefrom 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 theRegistryNoSuchEndpointException A runtime exception thrown if a routing processor such as a recipient list is unable to resolve anEndpointfrom a URI.NoSuchHeaderException An exception caused when a mandatory header is not available on a messageExchangeNoSuchHeaderOrPropertyException 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 messageExchangeNoTypeConversionAvailableException 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 anEndpointcannot 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 messageExchangeRuntimeExpressionException 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.SchemaValidationExceptionso 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 inboundMessageConfiguration Marks the class as aCamelConfigurationclass.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 anExchangeExchangeProperty Marks a parameter as being an injection point of a property of anExchangeExperimental 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 inboundMessageHeaders Marks a parameter as being an injection point of the headers of an inboundMessageInOnly Marks methods as beingExchangePattern.InOnlyfor one way asynchronous invocation when using Bean Integration to overload the default value which isExchangePattern.InOutfor request/reply if no annotations are used.InOut Marks a method as beingExchangePattern.InOutwhen a class or interface has been annotated withInOnlywhen using Bean Integration.Pattern Marks a method as having a specific kind ofExchangePatternfor use with Bean Integration to overload the default value which isExchangePattern.InOutfor 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.