Uses of Interface
org.apache.camel.CamelContext
Packages that use CamelContext
Package
Description
The core Camel API.
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.
Configuration classes for Java Secure Socket Extension (JSSE) SSL/TLS setup.
-
Uses of CamelContext in org.apache.camel
Subinterfaces of CamelContext in org.apache.camelModifier and TypeInterfaceDescriptioninterfaceCatalog-level extension ofCamelContextthat exposes the JSON schema metadata Camel publishes for theComponents,DataFormats,Languages and EIPs available at runtime.Methods in org.apache.camel that return CamelContextModifier and TypeMethodDescriptionConsumerTemplate.getCamelContext()Get theCamelContextEndpoint.getCamelContext()Returns the context which created the endpointFluentProducerTemplate.getCamelContext()Get theCamelContextProducerTemplate.getCamelContext()Get theCamelContextRoute.getCamelContext()Gets the camel contextExchange.getContext()Returns the container so that a processor can resolve endpoints from URIsVetoCamelContextStartException.getContext()Methods in org.apache.camel with parameters of type CamelContextModifier and TypeMethodDescriptionvoidRouteConfigurationsBuilder.addRouteConfigurationsToCamelContext(CamelContext context) Adds the route configurations from this builder to the CamelContext.voidRoutesBuilder.addRoutesToCamelContext(CamelContext context) Adds the routes from this Route Builder to the CamelContext.voidRoutesBuilder.addTemplatedRoutesToCamelContext(CamelContext context) Adds the templated routes from this Route Builder to the CamelContext.voidAfterPropertiesConfigured.afterPropertiesConfigured(CamelContext camelContext) Callback invoked after the element have configured its properties.default voidCamelConfiguration.configure(CamelContext camelContext) Method that allows to do custom configuration during Camel startup.ExchangeExtension.createCopyWithProperties(CamelContext context) Create a new exchange copied from this, with the context set to the given contextExpressionFactory.createExpression(CamelContext camelContext) Creates an expressionPredicateFactory.createPredicate(CamelContext camelContext) Creates a predicatedefault voidExpression.init(CamelContext context) Initialize the expression with the given camel contextdefault voidPredicate.init(CamelContext context) Initialize the predicate with the given camel contextdefault voidPredicate.initPredicate(CamelContext context) Initialize as a predicate with the given camel contextdefault voidStartupListener.onCamelContextFullyStarted(CamelContext context, boolean alreadyStarted) Callback invoked when theCamelContexthas been fully started.voidStartupListener.onCamelContextStarted(CamelContext context, boolean alreadyStarted) Callback invoked when theCamelContextis about to be fully started (not started yet).default voidStartupListener.onCamelContextStarting(CamelContext context, boolean alreadyStarted) Callback invoked when theCamelContextis being started.EndpointConsumerResolver.resolve(CamelContext context) Resolves this object as an endpoint.<T extends Endpoint>
TEndpointConsumerResolver.resolve(CamelContext context, Class<T> endpointType) Resolves this object as an endpoint.EndpointProducerResolver.resolve(CamelContext context) Resolves this object as an endpoint.<T extends Endpoint>
TEndpointProducerResolver.resolve(CamelContext context, Class<T> endpointType) Resolves this object as an endpoint.voidCamelContextAware.setCamelContext(CamelContext camelContext) Injects theCamelContextvoidEndpoint.setCamelContext(CamelContext context) Sets the camel context.static <T> TCamelContextAware.trySetCamelContext(T object, CamelContext camelContext) Set theCamelContextcontext if the object is an instance ofCamelContextAware.voidRouteConfigurationsBuilder.updateRouteConfigurationsToCamelContext(CamelContext context) Adds or updates the route configurations from this builder to the CamelContext.RoutesBuilder.updateRoutesToCamelContext(CamelContext context) Adds or updates the routes from this Route Builder to the CamelContext.Constructors in org.apache.camel with parameters of type CamelContextModifierConstructorDescriptionVetoCamelContextStartException(String message, Throwable cause, CamelContext context) VetoCamelContextStartException(String message, Throwable cause, CamelContext context, boolean rethrowException) VetoCamelContextStartException(String message, CamelContext context) VetoCamelContextStartException(String message, CamelContext context, boolean rethrowException) -
Uses of CamelContext in org.apache.camel.console
Methods in org.apache.camel.console with parameters of type CamelContextModifier and TypeMethodDescriptionstatic @Nullable DevConsoleRegistryDevConsoleRegistry.get(CamelContext context) Returns an optionalDevConsoleRegistry, by default no registry is present, and it must be explicit activated. -
Uses of CamelContext in org.apache.camel.health
Methods in org.apache.camel.health with parameters of type CamelContextModifier and TypeMethodDescriptionstatic @Nullable HealthCheckRegistryHealthCheckRegistry.get(@Nullable CamelContext context) Returns an optionalHealthCheckRegistry, by default no registry is present, and it must be explicit activated.static @Nullable HealthCheckHealthCheckHelper.getHealthCheck(CamelContext context, String id) Gets theHealthCheckby the given id (will resolve from classpath if necessary)static <T extends HealthCheck>
@Nullable THealthCheckHelper.getHealthCheck(CamelContext context, String id, Class<T> type) Gets theHealthCheckby the given id (will resolve from classpath if necessary)static @Nullable HealthCheckRegistryHealthCheckHelper.getHealthCheckRegistry(CamelContext context) Gets theHealthCheckRegistry.static @Nullable HealthCheckRepositoryHealthCheckHelper.getHealthCheckRepository(CamelContext context, String id) Gets theHealthCheckRepositoryby the given id (will resolve from classpath if necessary)static <T extends HealthCheckRepository>
@Nullable THealthCheckHelper.getHealthCheckRepository(CamelContext context, String id, Class<T> type) Gets theHealthCheckRepositoryby the given id (will resolve from classpath if necessary)static Collection<HealthCheck.Result> HealthCheckHelper.invoke(CamelContext camelContext) Invokes all the checks and returns a collection of results.static Collection<HealthCheck.Result> HealthCheckHelper.invoke(CamelContext camelContext, @Nullable String exposureLevel) Invokes all the checks and returns a collection of results.static Optional<HealthCheck.Result> Invoke a check by id.static Collection<HealthCheck.Result> HealthCheckHelper.invoke(CamelContext camelContext, Function<HealthCheck, Map<String, Object>> optionsSupplier) Invokes the checks and returns a collection of results.static Collection<HealthCheck.Result> HealthCheckHelper.invoke(CamelContext camelContext, Function<HealthCheck, Map<String, Object>> optionsSupplier, Predicate<HealthCheck> filter, @Nullable String exposureLevel) Invokes the checks and returns a collection of results.static Collection<HealthCheck.Result> HealthCheckHelper.invoke(CamelContext camelContext, Predicate<HealthCheck> filter) Invokes the checks and returns a collection of results.static Collection<HealthCheck.Result> HealthCheckHelper.invokeLiveness(CamelContext camelContext) Invokes the liveness checks and returns a collection of results.static Collection<HealthCheck.Result> HealthCheckHelper.invokeLiveness(CamelContext camelContext, @Nullable String exposureLevel) Invokes the liveness checks and returns a collection of results.static Collection<HealthCheck.Result> HealthCheckHelper.invokeReadiness(CamelContext camelContext) Invokes the readiness checks and returns a collection of results.static Collection<HealthCheck.Result> HealthCheckHelper.invokeReadiness(CamelContext camelContext, @Nullable String exposureLevel) Invokes the readiness checks and returns a collection of results. -
Uses of CamelContext in org.apache.camel.spi
Subinterfaces with type arguments of type CamelContext in org.apache.camel.spiModifier and TypeInterfaceDescriptionstatic interfaceDecides whichCamelContextinstances aCamelContextTrackeris notified about.Methods in org.apache.camel.spi that return CamelContextModifier and TypeMethodDescription@Nullable CamelContextHasCamelContext.getCamelContext()Returns the camel context.@Nullable CamelContextTransformer.getCamelContext()@Nullable CamelContextValidator.getCamelContext()CamelEvent.CamelContextEvent.getContext()Returns the CamelContext.Methods in org.apache.camel.spi with parameters of type CamelContextModifier and TypeMethodDescriptionbooleanCamelContextTracker.accept(CamelContext camelContext) Called to determine whether this tracker should accept the given context.booleanCamelContextTracker.Filter.accept(CamelContext camelContext) Whether the given context should be tracked.@Nullable ExchangeAggregationRepository.add(CamelContext camelContext, String key, Exchange exchange) Add the givenExchangeunder the correlation key.@Nullable ExchangeOptimisticLockingAggregationRepository.add(CamelContext camelContext, String key, @Nullable Exchange oldExchange, Exchange newExchange) Add the givenExchangeunder the correlation key.voidInternalProcessor.addRouteLifecycleAdvice(CamelContext camelContext, Route route, NamedRoute node) Add advice for setting upUnitOfWorkwith the lifecycle of the route.InternalProcessorFactory.addUnitOfWorkProcessorAdvice(CamelContext camelContext, Processor processor, Route route) default voidUnitOfWorkFactory.afterPropertiesConfigured(CamelContext camelContext) booleanStartupCondition.canContinue(CamelContext camelContext) Checks if the condition is acceptedvoidCamelContextCustomizer.configure(CamelContext camelContext) Configure theCamelContext.booleanPropertyConfigurer.configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) Configures the propertyvoidAggregationRepository.confirm(CamelContext camelContext, String exchangeId) Confirms the completion of theExchange.default booleanRecoverableAggregationRepository.confirmWithResult(CamelContext camelContext, String exchangeId) Confirms the completion of theExchangewith a result.voidCamelContextTracker.contextCreated(CamelContext camelContext) Called when a context is created.voidCamelContextTracker.contextDestroyed(CamelContext camelContext) Called when a context has been shutdown.ManagementStrategyFactory.create(CamelContext context, Map<String, Object> properties) Creates theManagementStrategy.InternalProcessorFactory.createAggregateBacklogTracerAdvice(CamelContext camelContext, NamedNode definition) RestApiConsumerFactory.createApiConsumer(CamelContext camelContext, Processor processor, String contextPath, RestConfiguration configuration, Map<String, Object> parameters) Creates a new REST API Event Driven Consumer, which provides API listing of the REST servicesRestApiProcessorFactory.createApiProcessor(CamelContext camelContext, String contextPath, RestConfiguration configuration, Map<String, Object> parameters) Creates a new REST API Processor , which provides API listing of the REST servicesBeanProcessorFactory.createBeanProcessor(CamelContext camelContext, @Nullable Object bean, @Nullable String beanType, @Nullable Class<?> beanClass, @Nullable String ref, @Nullable String method, BeanScope scope) Creates the bean processor from a given set of parameters that can refer to the bean via an existing bean, a reference to a bean, or its class name etc.BeanProcessorFactory.createBeanProcessor(CamelContext camelContext, Object bean, Method method) Creates the bean processor from the existing bean instanceEventFactory.createCamelContextInitializedEvent(CamelContext context) Creates anCamelEventfor Camel has been initialized successfully.EventFactory.createCamelContextInitializingEvent(CamelContext context) Creates anCamelEventfor Camel is initializing.EventFactory.createCamelContextReloaded(CamelContext context, Object source) Creates anCamelEventforCamelContexthas been reloaded successfully.EventFactory.createCamelContextReloadFailure(CamelContext context, Object source, Throwable cause) Creates anCamelEventforCamelContextfailed reload.EventFactory.createCamelContextReloading(CamelContext context, Object source) Creates anCamelEventforCamelContextbeing reloaded.EventFactory.createCamelContextResumedEvent(CamelContext context) Creates anCamelEventfor Camel has been resumed successfully.EventFactory.createCamelContextResumeFailureEvent(CamelContext context, Throwable cause) Creates anCamelEventfor Camel failing to resumeEventFactory.createCamelContextResumingEvent(CamelContext context) Creates anCamelEventfor Camel is resuming.EventFactory.createCamelContextRoutesStartedEvent(CamelContext context) Creates anCamelEventfor Camel routes started.EventFactory.createCamelContextRoutesStartingEvent(CamelContext context) Creates anCamelEventfor Camel routes starting.EventFactory.createCamelContextRoutesStoppedEvent(CamelContext context) Creates anCamelEventfor Camel routes stopped.EventFactory.createCamelContextRoutesStoppingEvent(CamelContext context) Creates anCamelEventfor Camel routes stopping.EventFactory.createCamelContextStartedEvent(CamelContext context) Creates anCamelEventfor Camel has been started successfully.EventFactory.createCamelContextStartingEvent(CamelContext context) Creates anCamelEventfor Camel is starting.EventFactory.createCamelContextStartupFailureEvent(CamelContext context, Throwable cause) Creates anCamelEventfor Camel failing to startEventFactory.createCamelContextStopFailureEvent(CamelContext context, Throwable cause) Creates anCamelEventfor Camel failing to stop cleanlyEventFactory.createCamelContextStoppedEvent(CamelContext context) Creates anCamelEventfor Camel has been stopped successfully.EventFactory.createCamelContextStoppingEvent(CamelContext context) Creates anCamelEventfor Camel is stopping.EventFactory.createCamelContextSuspendedEvent(CamelContext context) Creates anCamelEventfor Camel has been suspended successfully.EventFactory.createCamelContextSuspendingEvent(CamelContext context) Creates anCamelEventfor Camel is suspending.InternalProcessorFactory.createChannel(CamelContext camelContext) default @Nullable StringSimpleLanguageFunctionFactory.createCode(CamelContext camelContext, String function, int index) Deprecated.will be removed along with csimpleRestConsumerFactory.createConsumer(CamelContext camelContext, Processor processor, String verb, String basePath, @Nullable String uriTemplate, @Nullable String consumes, @Nullable String produces, RestConfiguration configuration, Map<String, Object> parameters) Creates a new REST Event Driven Consumer, which consumes messages from the endpoint using the given processorRestOpenApiConsumerFactory.createConsumer(CamelContext camelContext, Processor processor, String contextPath, RestConfiguration configuration, Map<String, Object> parameters) Creates a new REST Event Driven Consumer, which consumes messages from the endpoint using the given processor@Nullable DataFormatDataFormatResolver.createDataFormat(String name, CamelContext context) Creates the given data format given its name.ModelReifierFactory.createDataFormat(CamelContext camelContext, Object dataFormatDefinition) Creates the data format from the model.DebuggerFactory.createDebugger(CamelContext camelContext) Creates the debugger.AnnotationBasedProcessorFactory.createDynamicRouter(CamelContext camelContext, DynamicRouter annotation) Creates dynamic router processor from the configured annotation.ModelReifierFactory.createExpression(CamelContext camelContext, Object expressionDefinition) Creates the expression from the model.@Nullable ExpressionSimpleLanguageFunctionFactory.createFunction(CamelContext camelContext, String function, int index) Creates theExpressionthat performs the function.InterceptEndpointFactory.createInterceptSendToEndpoint(CamelContext camelContext, Endpoint endpoint, boolean skip, @Nullable Predicate onWhen, @Nullable Processor before, @Nullable Processor after) Creates an endpoint when intercepting sending to an endpoint (detour).ManagementStrategyFactory.createLifecycle(CamelContext context) Creates the associatedLifecycleStrategythat the management strategy uses.ModelReifierFactory.createPredicate(CamelContext camelContext, Object expressionDefinition) Creates the predicate from the model.@Nullable ProcessorProcessorFactory.createProcessor(CamelContext camelContext, String definitionName, Object[] args) Creates a processor by the name of the definition.RestProducerFactory.createProducer(CamelContext camelContext, String host, String verb, String basePath, @Nullable String uriTemplate, @Nullable String queryParameters, @Nullable String consumes, @Nullable String produces, RestConfiguration configuration, Map<String, Object> parameters) Creates a new REST producer.AnnotationBasedProcessorFactory.createRecipientList(CamelContext camelContext, RecipientList annotation) Creates recipient list processor from the configured annotation.ModelReifierFactory.createRoute(CamelContext camelContext, Object routeDefinition) Creates the route from the model.RouteFactory.createRoute(CamelContext camelContext, NamedNode routeDefinition, String routeId, @Nullable String routeDescription, @Nullable String routeNote, Endpoint endpoint, @Nullable Resource resource) Creates the route which should be configured afterwards with more configurations.@Nullable RoutePolicyRoutePolicyFactory.createRoutePolicy(CamelContext camelContext, String routeId, NamedNode route) Creates a newRoutePolicywhich will be assigned to the given route.AnnotationBasedProcessorFactory.createRoutingSlip(CamelContext camelContext, RoutingSlip annotation) Creates routing slip processor from the configured annotation.EventFactory.createServiceStartupFailureEvent(CamelContext context, Object service, Throwable cause) Creates anCamelEventfor a Service failed to start cleanlyEventFactory.createServiceStopFailureEvent(CamelContext context, Object service, Throwable cause) Creates anCamelEventfor a Service failed to stop cleanlyInternalProcessorFactory.createSharedCamelInternalProcessor(CamelContext camelContext) ModelReifierFactory.createTransformer(CamelContext camelContext, Object transformerDefinition) Creates the transformer from the model.ModelReifierFactory.createValidator(CamelContext camelContext, Object transformerDefinition) Creates the validator from the model.ModelToXMLDumper.dumpBeansAsXml(CamelContext context, List<Object> beans) Dumps the beans as XMLModelToYAMLDumper.dumpBeansAsYaml(CamelContext context, List<Object> beans) Dumps the beans as YAMLModelToXMLDumper.dumpDataFormatsAsXml(CamelContext context, Map<String, Object> dataFormats) Dumps the global data formats as XMLModelToYAMLDumper.dumpDataFormatsAsYaml(CamelContext context, Map<String, Object> dataFormats) Dumps the global data formats as YAMLModelToJavaDumper.dumpModelAsJava(CamelContext context, NamedNode definition) Dumps the definition as Java DSLModelToJavaDumper.dumpModelAsJava(CamelContext context, NamedNode definition, boolean resolvePlaceholders, boolean generatedIds) Dumps the definition as Java DSLModelToXMLDumper.dumpModelAsXml(CamelContext context, NamedNode definition) Dumps the definition as XMLModelToXMLDumper.dumpModelAsXml(CamelContext context, NamedNode definition, boolean resolvePlaceholders, boolean generatedIds, boolean sourceLocation) Dumps the definition as XMLModelToYAMLDumper.dumpModelAsYaml(CamelContext context, NamedNode definition) Dumps the definition as YAMLModelToYAMLDumper.dumpModelAsYaml(CamelContext context, NamedNode definition, boolean resolvePlaceholders, boolean uriAsParameters, boolean generatedIds, boolean sourceLocation) Dumps the definition as YAMLModelToStructureDumper.dumpStructure(CamelContext context, String routeId, boolean brief) Dumps the route (structure only) with source code linesRouteTopologyDumper.dumpTopology(CamelContext context) Computes the inter-route topology by analyzing route definitions and matching endpoints across routes.static booleanGroovyScriptCompiler.existsSourceFiles(CamelContext context, String scriptPattern) Checks whether any groovy sources exists?@Nullable ExchangeAggregationRepository.get(CamelContext camelContext, String key) Gets the given exchange with the correlation keyManagementObjectStrategy.getManagedObjectForCamelContext(CamelContext context) ManagementObjectStrategy.getManagedObjectForCamelHealth(CamelContext context, HealthCheckRegistry healthCheckRegistry) ManagementObjectStrategy.getManagedObjectForClusterService(CamelContext context, CamelClusterService service) ManagementObjectStrategy.getManagedObjectForComponent(CamelContext context, Component component, String name) ManagementObjectStrategy.getManagedObjectForConsumer(CamelContext context, Consumer consumer) ManagementObjectStrategy.getManagedObjectForDataFormat(CamelContext context, DataFormat dataFormat) ManagementObjectStrategy.getManagedObjectForEndpoint(CamelContext context, Endpoint endpoint) ManagementObjectStrategy.getManagedObjectForEventNotifier(CamelContext context, EventNotifier eventNotifier) ManagementObjectStrategy.getManagedObjectForProcessor(CamelContext context, Processor processor, NamedNode definition, Route route) ManagementObjectStrategy.getManagedObjectForProducer(CamelContext context, Producer producer) ManagementObjectStrategy.getManagedObjectForRoute(CamelContext context, Route route) ManagementObjectStrategy.getManagedObjectForRouteController(CamelContext context, RouteController routeController) ManagementObjectStrategy.getManagedObjectForRouteGroup(CamelContext context, String group) ManagementObjectStrategy.getManagedObjectForService(CamelContext context, Service service) default @Nullable ObjectManagementObjectStrategy.getManagedObjectForThreadPool(CamelContext context, ExecutorService executorService, String id, String sourceId, String routeId, String threadPoolProfileId) ManagementObjectStrategy.getManagedObjectForThreadPool(CamelContext context, ThreadPoolExecutor threadPool, String id, String sourceId, String routeId, String threadPoolProfileId) ManagementObjectNameStrategy.getObjectNameForCamelContext(CamelContext context) ManagementObjectNameStrategy.getObjectNameForCamelHealth(CamelContext context) ManagementObjectNameStrategy.getObjectNameForClusterService(CamelContext context, CamelClusterService service) ManagementObjectNameStrategy.getObjectNameForConsumer(CamelContext context, Consumer consumer) ManagementObjectNameStrategy.getObjectNameForDataFormat(CamelContext context, DataFormat endpoint) ManagementObjectNameStrategy.getObjectNameForEventNotifier(CamelContext context, EventNotifier eventNotifier) ManagementObjectNameStrategy.getObjectNameForProcessor(CamelContext context, Processor processor, NamedNode definition) ManagementObjectNameStrategy.getObjectNameForProducer(CamelContext context, Producer producer) ManagementObjectNameStrategy.getObjectNameForRouteController(CamelContext context, RouteController controller) ManagementObjectNameStrategy.getObjectNameForRouteGroup(CamelContext camelContext, String group) ManagementObjectNameStrategy.getObjectNameForService(CamelContext context, Service service) ManagementObjectNameStrategy.getObjectNameForStep(CamelContext context, Processor processor, NamedNode definition) default @Nullable ObjectNameManagementObjectNameStrategy.getObjectNameForThreadPool(CamelContext context, ExecutorService executorService, String id, String sourceId) ManagementObjectNameStrategy.getObjectNameForThreadPool(CamelContext context, ThreadPoolExecutor threadPool, String id, String sourceId) ManagementObjectNameStrategy.getObjectNameForTracer(CamelContext context, Service tracer) voidContextServicePlugin.load(CamelContext camelContext) Called during CamelContext initialization to allow the plugin to configure or customize the context.static voidCamelContextTracker.notifyContextCreated(CamelContext camelContext) Notifies all open trackers that the givenCamelContexthas been created.static voidCamelContextTracker.notifyContextDestroyed(CamelContext camelContext) Notifies all open trackers that the givenCamelContexthas been destroyed.default voidLifecycleStrategy.onContextInitialized(CamelContext context) Notification on initializedCamelContext.voidOnCamelContextInitialized.onContextInitialized(CamelContext context) Callback invoked after theCamelContexthas been initialized.default voidLifecycleStrategy.onContextInitializing(CamelContext context) Notification on initializing aCamelContext.voidOnCamelContextInitializing.onContextInitializing(CamelContext context) Callback invoked while theCamelContextis initializing.default voidLifecycleStrategy.onContextStarted(CamelContext context) Notification on startedCamelContext.voidOnCamelContextStarted.onContextStarted(CamelContext context) Callback invoked after theCamelContexthas been started.default voidLifecycleStrategy.onContextStarting(CamelContext context) Notification on starting aCamelContext.voidOnCamelContextStarting.onContextStarting(CamelContext context) Callback invoked while theCamelContextis starting.default voidLifecycleStrategy.onContextStopped(CamelContext context) Notification on stoppedCamelContext.voidOnCamelContextStopped.onContextStopped(CamelContext context) Callback invoked after theCamelContexthas been stopped.default voidLifecycleStrategy.onContextStopping(CamelContext context) Notification on stopping aCamelContext.voidOnCamelContextStopping.onContextStopping(CamelContext context) Callback invoked while theCamelContextis stopping.default voidContextServicePlugin.onReload(CamelContext camelContext) Called before route reloading in development mode to allow the plugin to refresh its state.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.default voidLifecycleStrategy.onThreadPoolAdd(CamelContext camelContext, ExecutorService executorService, String id, @Nullable String sourceId, @Nullable String routeId, @Nullable String threadPoolProfileId) Notification on adding an executor service (such as a virtual thread executor) that is not aThreadPoolExecutor.voidLifecycleStrategy.onThreadPoolAdd(CamelContext camelContext, ThreadPoolExecutor threadPool, String id, @Nullable String sourceId, @Nullable String routeId, @Nullable String threadPoolProfileId) Notification on adding a thread pool.default voidLifecycleStrategy.onThreadPoolRemove(CamelContext camelContext, ExecutorService executorService) Notification on removing an executor service (such as a virtual thread executor) that is not aThreadPoolExecutor.voidLifecycleStrategy.onThreadPoolRemove(CamelContext camelContext, ThreadPoolExecutor threadPool) Notification on removing a thread pool.voidCompilePostProcessor.postCompile(CamelContext camelContext, String name, Class<?> clazz, byte @Nullable [] byteCode, @Nullable Object instance) Invoked after the class has been compiledvoidCompilePreProcessor.preCompile(CamelContext camelContext, String name, String code) Invoked before the class has been compiled@Nullable ExchangeRecoverableAggregationRepository.recover(CamelContext camelContext, String exchangeId) Recovers the exchange with the given exchange idvoidAggregationRepository.remove(CamelContext camelContext, String key, Exchange exchange) Removes the exchange with the given correlation key, which should happen when anExchangeis completedvoidOptimisticLockingAggregationRepository.remove(CamelContext camelContext, String key, Exchange exchange) Removes the given Exchange when both the supplied key and Exchange are present in the repository.@Nullable TransformerTransformerResolver.resolve(K key, CamelContext camelContext) Attempts to resolve the transformer for the given key.@Nullable ComponentComponentResolver.resolveComponent(String name, CamelContext context) Attempts to resolve the component for the given URIstatic OAuthTokenValidationConfigOAuthTokenValidationConfigResolver.resolveDefaultProfileConfig(CamelContext context) Resolves the default token validation profile from Camel properties.@Nullable EndpointUriFactoryUriFactoryResolver.resolveFactory(String name, CamelContext context) Resolves the givenEndpointUriFactory.LanguageResolver.resolveLanguage(String name, CamelContext context) Resolves the given language.ComponentNameResolver.resolveNames(CamelContext camelContext) Discovers which components are available on the classpath.static OAuthTokenValidationConfigOAuthTokenValidationConfigResolver.resolveProfileConfig(CamelContext context, String profileName) Resolves a named token validation profile from Camel properties.@Nullable PropertyConfigurerConfigurerResolver.resolvePropertyConfigurer(String name, CamelContext context) Resolves the given configurer.OAuthClientAuthenticationFactory.resolveToken(CamelContext context) Resolves a bearer token using the default (unnamed) profile.OAuthClientAuthenticationFactory.resolveToken(CamelContext context, String profileName) Resolves a bearer token using a named profile from Camel properties.RecoverableAggregationRepository.scan(CamelContext camelContext) Scans the repository forExchanges to be recoveredvoidTransformer.setCamelContext(CamelContext context) voidValidator.setCamelContext(CamelContext context) booleanBeanIntrospection.setProperty(CamelContext context, Object target, String name, @Nullable Object value) This method supports three modes to set a property: 1.booleanBeanIntrospection.setProperty(CamelContext context, TypeConverter typeConverter, Object target, String name, @Nullable Object value, @Nullable String refName, boolean allowBuilderPattern, boolean allowPrivateSetter, boolean ignoreCase) This method supports three modes to set a property: 1.voidRestBindingJacksonXmlDataFormatFactory.setupJacksonXml(CamelContext camelContext, RestConfiguration config, @Nullable String type, @Nullable Class<?> typeClass, @Nullable String outType, @Nullable Class<?> outTypeClass, DataFormat jacksonXml, DataFormat outJacksonXml) Setup XML data formatvoidRestBindingJaxbDataFormatFactory.setupJaxb(CamelContext camelContext, RestConfiguration config, @Nullable String type, @Nullable Class<?> typeClass, @Nullable String outType, @Nullable Class<?> outTypeClass, DataFormat jaxb, DataFormat outJaxb) Setup XML data formatvoidManagementStrategyFactory.setupManagement(CamelContext camelContext, ManagementStrategy strategy, @Nullable LifecycleStrategy lifecycle) Setup the management on theCamelContext.voidShutdownStrategy.shutdown(CamelContext context, List<RouteStartupOrder> routes) Shutdown the routesvoidShutdownStrategy.shutdown(CamelContext context, List<RouteStartupOrder> routes, long timeout, TimeUnit timeUnit) Shutdown the routes using a specified timeout instead of the default timeout valuesbooleanShutdownStrategy.shutdown(CamelContext context, RouteStartupOrder route, long timeout, TimeUnit timeUnit, boolean abortAfterTimeout) Shutdown the route using a specified timeout instead of the default timeout values and supports abortAfterTimeout modevoidShutdownStrategy.shutdownForced(CamelContext context, List<RouteStartupOrder> routes) Shutdown the routes, forcing shutdown being more aggressive, if timeout occurred.voidShutdownStrategy.suspend(CamelContext context, List<RouteStartupOrder> routes) Suspends the routesvoidShutdownStrategy.suspend(CamelContext context, List<RouteStartupOrder> routes, long timeout, TimeUnit timeUnit) Suspends the routes using a specified timeout instead of the default timeout valuesdefault booleanCamelContextTracker.Filter.test(CamelContext camelContext) default voidContextServicePlugin.unload(CamelContext camelContext) Called during CamelContext stop.default voidOAuthTokenValidationFactory.validateConfiguration(CamelContext context) Validates the default token validation profile without validating a token.default voidOAuthTokenValidationFactory.validateConfiguration(CamelContext context, String profileName) Validates a named token validation profile without validating a token.default OAuthTokenValidationResultOAuthTokenValidationFactory.validateToken(CamelContext context, String token) Validates a bearer token using the default (unnamed) profile.default OAuthTokenValidationResultOAuthTokenValidationFactory.validateToken(CamelContext context, String profileName, String token) Validates a bearer token using a named profile from Camel properties.InterceptStrategy.wrapProcessorInInterceptors(CamelContext context, NamedNode definition, Processor target, @Nullable Processor nextTarget) Give implementor an opportunity to wrap the target processor in a route. -
Uses of CamelContext in org.apache.camel.support.jsse
Methods in org.apache.camel.support.jsse that return CamelContextMethods in org.apache.camel.support.jsse with parameters of type CamelContextModifier and TypeMethodDescriptionSSLContextParameters.createSSLContext(CamelContext camelContext) Creates anSSLContextbased on the related configuration options of this instance.voidJsseParameters.setCamelContext(CamelContext context) Sets the optionalCamelContextused for integration with core capabilities such as Camel Property Placeholders andClassResolver.