Uses of Interface
org.apache.camel.Service
Packages that use Service
Package
Description
The core Camel API.
Runtime catalog API for validating endpoint URIs, configuration properties, and language expressions.
Cluster API for leader election, namespace-based partitioning, and cluster membership management.
Developer console API for exposing runtime operational information in text and JSON formats.
Health check API for readiness and liveness monitoring of the CamelContext, routes, and components.
Resume strategy API for offset-based message consumption, allowing consumers to resume processing from a previously
saved position.
Base classes for implementing the Camel service lifecycle (build, init, start, stop, suspend, resume).
-
Uses of Service in org.apache.camel
Subinterfaces of Service in org.apache.camelModifier and TypeInterfaceDescriptioninterfaceMarker 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.interfaceMarker interface indicating that theEndpoint's consumer and producer support asynchronous, non-blocking routing.interfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceAPollingConsumerused by the dynamicpollandpollEnrichEIPs, allowing the component to use data from the currentExchange(such as headers or properties) to parameterise the poll operation at runtime.interfaceAn endpoint implements the Message Endpoint pattern and represents an endpoint that can send and receive message exchangesinterfaceinterfaceRepresents a Polling Consumer where the caller polls for messages when it is ready.interfaceinterfaceinterfaceAServicewhich is capable of being shut down.interfaceAServicethat exposes its currentServiceStatustogether with the full lifecycle, including suspend/resume fromSuspendableServiceand shutdown fromShutdownableService.interfaceMarker interface indicating that aServiceis a "static" service: a singleton within aCamelContextthat is created once at context startup and shared for the context lifetime.interfaceAServicewhich is also capable of suspending and resuming.interfaceTimeoutMap<K,V> A map whose entries expire automatically after a configurable period of inactivity.Methods in org.apache.camel that return ServiceModifier and TypeMethodDescription@Nullable ServiceCamelContext.hasService(Predicate<Service> filter) Finds the first service matching the filterMethods in org.apache.camel that return types with arguments of type ServiceModifier and TypeMethodDescriptionExtendedCamelContext.getServices()Returns an unmodifiable list of the services registered currently in thisCamelContext.Route.getServices()Returns the services for this particular routeMethods in org.apache.camel with parameters of type ServiceModifier and TypeMethodDescriptionvoidRoute.addService(Service service) Adds a service to this routevoidRoute.addService(Service service, boolean forceStop) Adds a service to this routeMethod parameters in org.apache.camel with type arguments of type ServiceModifier and TypeMethodDescription@Nullable ServiceCamelContext.hasService(Predicate<Service> filter) Finds the first service matching the filter -
Uses of Service in org.apache.camel.catalog
Subinterfaces of Service in org.apache.camel.catalogModifier and TypeInterfaceDescriptioninterfaceRuntime catalog which limited API needed by components that supportsComponentVerifierExtension. -
Uses of Service in org.apache.camel.cluster
Subinterfaces of Service in org.apache.camel.clusterModifier and TypeInterfaceDescriptioninterfaceRepresents a cluster service providing distributed operations such as leader election and view-based namespace partitioning.interfaceRepresents the View of the cluster at some given period of time.interfaceinterfaceACamelPreemptiveClusterViewis aCamelClusterViewthat can be externally disabled by another controller. -
Uses of Service in org.apache.camel.console
Subinterfaces of Service in org.apache.camel.consoleModifier and TypeInterfaceDescriptioninterfaceA registry for dev console.interfaceA pluggable strategy for resolving dev consoles in a loosely coupled manner -
Uses of Service in org.apache.camel.health
Subinterfaces of Service in org.apache.camel.health -
Uses of Service in org.apache.camel.resume
Subinterfaces of Service in org.apache.camel.resumeModifier and TypeInterfaceDescriptioninterfaceDefines a strategy for handling resume operations. -
Uses of Service in org.apache.camel.spi
Subinterfaces of Service in org.apache.camel.spiModifier and TypeInterfaceDescriptioninterfaceA manager to handle async routing engine, whenExchanges are being handed over from one thread to another, while the callee thread is blocked waiting for the other threads to complete, before it can continue.interfaceinterfaceLow-level SPI for reading and writing bean properties via Java reflection, used internally by Camel's property binding infrastructure.interfaceAn optional interface anEndpointmay choose to implement which allows it to expose a way of browsing the exchanges available.interfaceAVariableRepositorythat can browse the variables.interfaceSPI that plugs a Mapped Diagnostic Context (MDC) propagation implementation into Camel's exchange processing pipeline.interfaceA Camel metrics service is a factory for micrometer metrics.interfaceA Camel tracing service is a factory for telemetry tracers.interfaceStorage repository for the Claim Check EIP, which temporarily parks a message payload so that a lighter message can travel through an intermediate part of a route.interfaceSPI that exposes a Camel integration to the Camel CLI for local inspection and control.interfaceCache containing createdPollingConsumer.interfaceSPI strategy for reloading a runningCamelContextin place.interfaceService Provider Interface (SPI) for discovering and loadingContextServicePluginimplementations during CamelContext initialization.interfacePluggable strategy for converting message bodies to and from a serialised byte-stream format, as described in the Data Format documentation.interfaceLow-level debugger SPI that firesBreakpointcallbacks asExchanges move through each route node, as described in the Debugger documentation.interfaceStrategy for dumping routes during startup dump all loaded routes (incl rests and route templates).interfaceRegistry to cache endpoints in memory.interfaceRegistry forEndpointServiceLocationto make it easy to find information about usage of external services such as databases, message brokers, cloud systems, that Camel is connecting to.interfaceA registry which captures exceptions that occurred during message routing and stores them in memory.interfaceFactory used byConsumer(andPollingConsumer) to create theExchangethat carries an incoming message into Camel.interfaceManagesExchangeFactory.interfaceStrategy to create thread pools.interfaceAn extendedRoutesBuilderLoaderthat is capable of loading from multiple resources in one unit (such as compiling them together).interfacePersistent store of message identifiers that implements the Idempotent Consumer pattern, ensuring each message is processed at most once.interfaceA live registry that tracks everyExchangethat is currently being processed within theCamelContext.interfaceAnEndpointwrapper that, when sent to, detours the exchange: before, send to the original endpoint (which can be skipped), then after (optional).interfaceLow-level JMX bridge that registers and unregisters Camel managed objects in aMBeanServer.interfaceAssembles aModelMBeanfrom a Camel managed object so it can be registered in theMBeanServer.interfaceTop-level SPI for Camel's management and observability layer, coordinating JMX registration, lifecycle events, and statistics collection across all Camel artifacts.interfaceFactory for creatingMessageHistoryentries, which together form the audit trail of a singleExchangeas it passes through each node of a route.interfaceStrategy for computing the size of message payloads (body and headers) for observation purposes.interfaceClasspath scanning strategy for discovering classes by annotation, supertype, or custom predicate across one or more packages, used by Camel at startup to auto-detect components, type converters, and other pluggable types.interfaceA resolver that can find resources based on package scanning.interfaceUsed for components that can optimise the usage of(poll/pollEnrich) to reuse a staticinvalid reference
org.apache.camel.processor.PollProcessorEndpointandDynamicPollingConsumerthat supports using headers to provide the dynamic parts.interfaceFactory for pooled objects or tasks.interfaceinterfaceCache containing createdProducer.interfaceSPI for the Camel property-placeholder subsystem, which resolves{{key}}tokens in endpoint URIs, DSL expressions, and configuration values.interfaceSPI strategy for reloading Camel at runtime when a change is detected.interfaceA factory for using micrometer with resilience4j circuit breakersinterfaceSPI strategy for reloadingResources in an already runningCamelContext.interfaceSPI for resolving aResourcefor a specific URI scheme.interfaceA live registry of all REST services running within theCamelContextthat were defined using the Camel REST DSL.interfaceCentral SPI for managing the start, stop, suspend, resume, and reload lifecycle of allRoutes in aCamelContext, as described in the Route Controller documentation.interfaceSPI that loadsRoutesBuilderinstances from aResourceidentified by file extension.interfaceA registry which listen for runtime usage ofEndpointduring routing in Camel.interfacePluggable scheduler that controls when awakes up to poll its source.invalid reference
org.apache.camel.support.ScheduledPollConsumerinterfaceinterfacePluggable strategy that performs the actual graceful shutdown sequence when aCamelContextis stopping.interfaceRegistry for custom simple functions.interfaceStrategy that runsStartupConditionchecks during startup to decide whether Camel may start, optionally waiting until the conditions are satisfied.interfaceRecords namedStartupStepspans duringCamelContextstartup to capture timing and diagnostic information for troubleshooting and performance analysis.interfaceStateRepository<K,V> ThisStateRepositoryholds a set of key/value pairs for defining a particular state of a component.interfaceStrategy that controls when and how stream-based message bodies (such asInputStream) are buffered so they can be re-read, as described in the Stream Caching documentation.interfaceExtension ofRouteControllerthat adds resilient, backoff-based startup supervision for routes, as described in the Route Controller documentation.interfaceSPI for interceptingExchangeflow at each EIP node in a route for tracing and debugging purposes.interfaceRegistry that stores and resolvesTransformerinstances for Camel's data type contract mechanism.interfaceCentral registry for allTypeConverterinstances available in a Camel type-conversion context.interfaceRegistry that stores and resolvesValidatorinstances for Camel's data type validation mechanism.interfaceRepository for storing and accessing variables.Classes in org.apache.camel.spi that implement ServiceModifier and TypeClassDescriptionclassPerforms message body transformation between twoDataTypes as part of Camel's Transformer contract mechanism.classValidates message content against a declaredDataType, as described in the Transformer and Validator documentation.Methods in org.apache.camel.spi that return types with arguments of type ServiceModifier and TypeMethodDescriptionRouteStartupOrder.getServices()Gets the services to this route.Methods in org.apache.camel.spi with parameters of type ServiceModifier and TypeMethodDescriptionManagementObjectStrategy.getManagedObjectForService(CamelContext context, Service service) ManagementObjectNameStrategy.getObjectNameForService(CamelContext context, Service service) ManagementObjectNameStrategy.getObjectNameForTracer(CamelContext context, Service tracer) voidLifecycleStrategy.onServiceAdd(CamelContext context, Service service, @Nullable Route route) Notification on adding aService.voidLifecycleStrategy.onServiceRemove(CamelContext context, Service service, @Nullable Route route) Notification on removing aService.default voidLifecycleStrategy.onServiceRemove(CamelContext context, Service service, @Nullable Route route, boolean shutdown) Notification on removing aService. -
Uses of Service in org.apache.camel.support.service
Classes in org.apache.camel.support.service that implement ServiceModifier and TypeClassDescriptionclassA useful base class which ensures that a service is only initialized once and provides some helper methods for enquiring of its status.Methods in org.apache.camel.support.service that return types with arguments of type ServiceModifier and TypeMethodDescriptionServiceHelper.getChildServices(Service service) Gathers all child services by navigating the service to recursively gather all child services.ServiceHelper.getChildServices(Service service, boolean includeErrorHandler) Gathers all child services by navigating the service to recursively gather all child services.Methods in org.apache.camel.support.service with parameters of type ServiceModifier and TypeMethodDescriptionServiceHelper.getChildServices(Service service) Gathers all child services by navigating the service to recursively gather all child services.ServiceHelper.getChildServices(Service service, boolean includeErrorHandler) Gathers all child services by navigating the service to recursively gather all child services.static voidServiceHelper.startService(@Nullable Service service) Starts the givenvalueif it's aServiceor a collection of it.static voidServiceHelper.stopService(@Nullable Service service) Stops the givenvalue, rethrowing the first exception caught.