Package org.apache.camel
@NullMarked
package org.apache.camel
The core Camel API.
-
ClassDescriptionTo perform optional initialization on an element after its properties has been configured.A strategy for aggregating two exchanges together into a single exchange.Thrown when an operation is attempted on a
Servicethat has already been stopped and therefore cannot service the call.Marker interface indicating that anEndpointbelongs to an API-based component, where the endpoint URI encodes an API name and method name rather than a plain scheme and path.The callback interface for anAsyncProcessorso that it can notify you when anExchangeis done.Marker interface indicating that theEndpoint's consumer and producer support asynchronous, non-blocking routing.An asynchronous processor which can process anExchangein an asynchronous fashion and signal completion by invoking theAsyncCallback.Marks a field, method, constructor, or parameter as an injection point for a configuration bean.Marks a field, method, constructor, or parameter as an injection point for a bean obtained from the CamelRegistry.Defines the scope for bean lookups in theRegistry.A predicate which evaluates a binary expression.Used for binding a bean to the registry.Marks a method parameter as the payload of the inboundMessagewhen Camel performs bean binding.Builder<T>Generic builder contract for objects that are assembled in multiple steps before being produced.An exception thrown for either authentication or authorization errors occurring in a Camel exchange.Configuration class for Camel applications.The CamelContext is the runtime container of an Apache Camel application: it owns the registries ofComponents,Endpoints,Routes,s,invalid reference
org.apache.camel.spi.TypeConverterLanguages,DataFormats and the configuration that governs howExchanges flow between them.Marker for objects that wish to receive the owningCamelContext.Lifecycle API forCamelContext: the methods used to start, stop, suspend and resume a Camel runtime.Base class for all Camel checked exceptions, typically thrown from aProcessoror other lifecycle step that already declaresthrows Exception.ACamelExceptionthat carries theExchangewhose processing triggered the failure.Exception occurred during execution/processing of anExchange.AUnitOfWorkfailed with a number of caused exceptions.Catalog-level extension ofCamelContextthat exposes the JSON schema metadata Camel publishes for theComponents,DataFormats,Languages and EIPs available at runtime.This enum set various categories options into the UriEndpoint.Channel acts as a channel betweenProcessors in the route graph.Marks the class as aCamelConfigurationclass.Lifecycle events of aCamelContextthat can be timestamped via anEventClock.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 SupportUsed 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.State for whether a processor or service is disabled.APollingConsumerused by the dynamicpollandpollEnrichEIPs, allowing the component to use data from the currentExchange(such as headers or properties) to parameterise the poll operation at runtime.Indicates that this method is to be used as a Dynamic Router routing the incoming message through a series of processing steps.An endpoint implements the Message Endpoint pattern and represents an endpoint that can send and receive message exchangesImplemented by objects that can be resolved to a consumer-facingEndpoint.Implemented by objects that can be resolved to a producer-facingEndpoint.Factory that creates and configures an error handler for aRoute.Generated by camel build tools - do NOT edit this file!Marks a parameter as being the exception set on an exchangeInternal extension surface ofExchangeexposing methods and APIs not intended for Camel end users, but used inside Camel for optimization, SPI integration, custom component development, and advanced use cases.The message exchange pattern of anExchange, indicating whether the caller expects a reply.Marks a method parameter as the entire exchange-property map of the currentExchangewhen Camel performs bean binding.Marks a method parameter as a named exchange property when Camel performs bean binding.Typed enum of the well-knownExchangeproperty keys used by camel-core.An exception thrown if an InOut exchange times out receiving the OUT messageThrown if the body could not be converted to the required typeAn experimental user-facing API.An expression provides a plugin strategy for evaluating expressions on a message exchange.An exception thrown if evaluation of the expression failed.Deferred factory for creating anExpressionwithin aCamelContext.An exception thrown if the expression contains illegal syntax.Internal extension surface ofCamelContext: methods and SPI hooks that custom components, data formats, languages, route policies and tooling may need, but that are not part of the end-user facing API.AStartupListenervariant whose callback is guaranteed to fire exactly once, after all route consumers are fully started and theCamelContextis considered completely running.Thrown when Camel cannot build aRoutefrom aRoutesBuilderor route model, for example because anEndpointcannot be resolved, a referenced bean or processor is missing, or DSL validation fails.Thrown when theCamelContextfails to instantiate aRoutefrom a route template definition, for example because a required template parameter is missing or the generated route is invalid.Thrown when aComponentfails to start as part of theCamelContextstartup sequence.Thrown when a previously builtRoutefails to start as part of theCamelContextstartup or aRouteControllerstartRoutecall.Global endpoint configurations which can be set as defaults when Camel creates newEndpoints.Marks a method on a bean as the preferred handler for bean binding.Marks a method parameter as a named header from the inboundMessagewhen Camel performs bean binding.Marks a method parameter as the entire header map of the inboundMessagewhen Camel performs bean binding.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.Marks a method as beingExchangePattern.InOutwhen a class or interface has been annotated withInOnlywhen using Bean Integration.Thrown when the body of aMessagecannot be converted to the expected type, for example because the body is null or its runtime type is incompatible with the requested type.Unchecked variant ofInvalidPayloadException, thrown when the body of aMessagecannot be converted to the expected type.An exception caused when an invalid property name is used on an objectUsed for defining if a given class is singleton or not.An entity that can point to a given line number from a sourceResourcesuch as YAML and XML DSL parsers.Represents a failure to open a Properties file at a given URLLogging severity levels used throughout Camel to control the verbosity of diagnostic output.Controls which Camel objects are registered as JMX MBeans for management and monitoring.Controls the granularity of JMX performance statistics collected for a runningCamelContext.A breadcrumb record that captures the route id and processing node anExchangevisited at a given point in time, together with the elapsed processing time at that node.Endpointcan optionally implement this interface to indicate whether or not it supports multiple consumers.Represents an identifiable node in the Camel route model.Represents a route-level node in the Camel route model, identified by a route id.Navigate<T>Supports forward traversal of a directed graph where each step returns aListof successor nodes of typeT(0 to n nodes per step).Thrown by the CamelFactoryFindermechanism when no implementation class can be located for a given service URI.Marker interface that excludes aServicefrom JMX management registration.Thrown when a bean cannot be found in the CamelRegistryby name or by type.A runtime exception if a given bean type could not be found in theRegistryThrown when a routing processor (such as a recipient list or dynamic router) cannot resolve a URI to a knownEndpoint, typically because the required Camel component is missing from the classpath.Thrown when neither a mandatory header nor a mandatory exchange property is available on anExchange, and at least one of them is required for processing to continue.A runtime exception thrown if an attempt is made to resolve an unknown language definition.Thrown when a mandatory exchange property is not available on anExchange.A runtime exception if a given service could not be found in the classpathAn exception caused when a mandatory variable is not availableThrown when the Camel type-converter registry cannot find a converter capable of transforming a given value to the requested target type.Implemented by objects that carry an explicit ordering position within a sorted collection.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.Represents a Polling Consumer where the caller polls for messages when it is ready.Strategy that allowsConsumers to influence thePollingConsumer.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.Task to execute when the exchange is done.Evaluates a binary predicate on the message exchange.Deferred factory for creating aPredicatewithin aCamelContext.A processor is used to implement the Event Driven Consumer and Message Translator patterns and to process message exchanges.Listener to trigger when the properties component is looking up and found a property.Error binding property to a bean.Used to indicate an injection point of a property placeholder into a POJO.Exception indicating a failure while trying to create a proxy of a given type and on a given endpointIndicates that this method is to be used as a Dynamic Recipient List routing the incoming message to one or more endpoints.Thrown when theCamelContextfails to resolve a URI to anEndpoint, for example because the scheme is unknown, the component is not on the classpath, or the URI contains invalid parameters.Thrown (or explicitly constructed and set on anExchange) to signal that the current exchange should be rolled back by the error handler.A Route defines the processing applied to an inboundExchangearriving at a specificEndpointwithin aCamelContext.Implemented by objects that wish to receive a reference to theRoutethey belong to.Low-level SPI interface for objects that can contribute route configurations to aCamelContext.Low-level SPI interface for objects that can contributeRoutes to aCamelContext.Contextual environment provided to a route template while it is being instantiated into a concreteRoute.Used for template beans to supply the local bean the route template should use when creating route(s).Indicates that this method is to be used as a Routing Slip routing the incoming message through a series of processing steps.Base class for all unchecked exceptions thrown by Camel itself.Cross-cutting runtime configuration options shared byCamelContextand individualRoutes.Unchecked base exception carrying theExchangewhose processing triggered the failure.Thrown if an expression evaluation failsThrown if a message transformation failsAn interface that allows safe copy (deep clone) of property value object when creating copy of Exchange objects.Core lifecycle contract for every managed object inside aCamelContext: build → init → start → stop → close.The current lifecycle state of aService(orStatefulService) as it transitions between Initializing, Started, Suspended and Stopped.AServicewhich is capable of being shut down.Per-route policy controlling whether the route stops immediately or defers during graceful shutdown.Per-consumer policy controlling how many pending tasks are processed before the consumer stops during graceful shutdown.Marker interface for Camel components and endpoints that can consume the context-wideSSLContextParametersconfigured on theCamelContext.Allows objects to be notified whenCamelContexthas almost done all work when starting.Represents a single timed step in theCamelContextstartup sequence, used for diagnostics and performance profiling.Controls how much informationCamelContextlogs in its startup (and shutdown) summary.AServicethat exposes its currentServiceStatustogether with the full lifecycle, including suspend/resume fromSuspendableServiceand shutdown fromShutdownableService.Marker for anExpressionwhose value is a compile-time or configuration-time constant.Marker interface indicating that aServiceis a "static" service: a singleton within aCamelContextthat is created once at context startup and shared for the context lifetime.Tagging interface to indicate that a type is capable of caching the underlying data stream.Thrown when stream caching of a message body fails.Marker interface to indicate a custom component has custom implementation for suspending theSuspendableServiceservice.AServicewhich is also capable of suspending and resuming.TimeoutMap<K,V> A map whose entries expire automatically after a configurable period of inactivity.TimeoutMap.Listener<K,V> Callback interface for objects that need to perform work on a recurring internal timer tick.Implemented byProcessors that want to expose a human-readable label used by the Camel tracing infrastructure to identify them in trace output and log messages.Unchecked exception thrown when a type converter is found but fails to convert a value to the required type.Pluggable strategy for converting objects to different types such as String, InputStream/OutputStream, Reader/Writer, Document, byte[], and ByteBuffer.Policy controlling what happens when aTypeConverterRegistryreceives a request to register a type converter whose from-to type pair is already registered.Exception when failing to add type converters due there is already an existing type converter.Exception when failing to load type converters.Marker interface indicating that a class contains type converter methods annotated withConverter.Base class for all validation exceptions, such as, so that callers can catch all validation failures in a single handler irrespective of the particular validation technology used.invalid reference
org.apache.camel.support.processor.validation.SchemaValidationExceptionValueHolder<V>Holder object for a given value.Marks a method parameter as a named variable when Camel performs bean binding.Implemented by objects that carry a variables store.Marks a method parameter as the entire variables map of the currentExchangewhen Camel performs bean binding.Thrown by aLifecycleStrategyto abort the startup of aCamelContext.Represent the kinds of options for wait for tasks to complete.WrappedFile<T>Abstraction over a file-like object consumed by a file-orientedConsumer(such as camel-file, camel-ftp, or camel-sftp), providing uniform access to the underlying file handle, its content, and its length.