Package org.apache.camel.impl.engine
Class AbstractCamelContext
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.impl.engine.AbstractCamelContext
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContext,org.apache.camel.CamelContextLifecycle,org.apache.camel.CatalogCamelContext,org.apache.camel.RuntimeConfiguration,org.apache.camel.Suspendable
- Direct Known Subclasses:
SimpleCamelContext
public abstract class AbstractCamelContext
extends org.apache.camel.support.service.BaseService
implements org.apache.camel.CamelContext, org.apache.camel.CatalogCamelContext, org.apache.camel.Suspendable
Represents the context used to configure routes and the policies to use.
-
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates theCamelContextusingDefaultRegistryas registry.protectedAbstractCamelContext(boolean build) protectedAbstractCamelContext(org.apache.camel.spi.Registry registry) Creates theCamelContextusing the given registry -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(String componentName, org.apache.camel.Component component) org.apache.camel.EndpointaddEndpoint(String uri, org.apache.camel.Endpoint endpoint) protected org.apache.camel.EndpointaddEndpointToRegistry(String uri, org.apache.camel.Endpoint endpoint) Strategy to add the given endpoint to the internal endpoint registryvoidaddLifecycleStrategy(org.apache.camel.spi.LifecycleStrategy lifecycleStrategy) voidaddPrototypeService(Object object) voidaddRoute(org.apache.camel.Route route) voidaddRoutePolicyFactory(org.apache.camel.spi.RoutePolicyFactory routePolicyFactory) voidaddRoutes(org.apache.camel.RoutesBuilder builder) voidaddRoutesConfigurations(org.apache.camel.RouteConfigurationsBuilder builder) voidaddService(Object object) voidaddService(Object object, boolean stopOnShutdown) voidaddService(Object object, boolean stopOnShutdown, boolean forceStart) voidaddStartupListener(org.apache.camel.StartupListener listener) voidaddTemplatedRoutes(org.apache.camel.RoutesBuilder builder) protected voidvoidclose()protected org.apache.camel.EndpointconvertBeanToEndpoint(String uri, Object bean) Strategy method for attempting to convert the bean from aRegistryto an endpoint using some kind of transformation or wrapperprotected abstract org.apache.camel.spi.AnnotationBasedProcessorFactoryprotected abstract org.apache.camel.spi.AsyncProcessorAwaitManagerprotected abstract org.apache.camel.spi.BeanIntrospectionprotected abstract org.apache.camel.spi.CamelBeanPostProcessorprotected abstract org.apache.camel.spi.BeanProcessorFactoryprotected abstract org.apache.camel.spi.BeanProxyFactoryprotected org.apache.camel.spi.FactoryFinderprotected abstract org.apache.camel.spi.CamelContextNameStrategyprotected abstract org.apache.camel.spi.ClassResolverprotected abstract org.apache.camel.spi.ComponentNameResolverprotected abstract org.apache.camel.spi.ComponentResolverprotected abstract org.apache.camel.spi.ConfigurerResolverorg.apache.camel.ConsumerTemplateorg.apache.camel.ConsumerTemplatecreateConsumerTemplate(int maximumCacheSize) org.apache.camel.spi.DataFormatcreateDataFormat(String name) protected abstract org.apache.camel.spi.DataFormatResolverprotected abstract org.apache.camel.spi.DeferServiceFactoryprotected abstract org.apache.camel.spi.CamelDependencyInjectionAnnotationFactoryprotected abstract org.apache.camel.console.DevConsoleRegistryprotected abstract org.apache.camel.console.DevConsoleResolverprotected abstract org.apache.camel.spi.DumpRoutesStrategyprotected org.apache.camel.EndpointcreateEndpoint(String uri) A pluggable strategy to allow an endpoint to be created without requiring a component to be its factory, such as for looking up the URI inside someRegistryprotected abstract org.apache.camel.spi.EndpointRegistrycreateEndpointRegistry(Map<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint> endpoints) protected abstract org.apache.camel.spi.EndpointServiceRegistryabstract org.apache.camel.ProcessorcreateErrorHandler(org.apache.camel.Route route, org.apache.camel.Processor processor) protected ScheduledExecutorServiceprotected abstract org.apache.camel.spi.ExchangeFactoryprotected abstract org.apache.camel.spi.ExchangeFactoryManagerprotected abstract org.apache.camel.spi.ExecutorServiceManagerprotected org.apache.camel.spi.FactoryFindercreateFactoryFinder(String path) protected abstract org.apache.camel.spi.FactoryFinderResolverorg.apache.camel.FluentProducerTemplateorg.apache.camel.FluentProducerTemplatecreateFluentProducerTemplate(int maximumCacheSize) protected abstract org.apache.camel.spi.HeadersMapFactoryprotected abstract org.apache.camel.health.HealthCheckRegistryprotected abstract org.apache.camel.health.HealthCheckResolverprotected abstract org.apache.camel.spi.InflightRepositoryprotected abstract org.apache.camel.spi.Injectorprotected abstract org.apache.camel.spi.InterceptEndpointFactoryprotected abstract org.apache.camel.spi.InternalProcessorFactoryprotected abstract org.apache.camel.spi.LanguageResolverprotected abstract org.apache.camel.spi.ManagementNameStrategyprotected abstract org.apache.camel.spi.MessageHistoryFactoryprotected abstract org.apache.camel.spi.ModelineFactoryprotected abstract org.apache.camel.spi.ModelJAXBContextFactoryprotected abstract org.apache.camel.spi.ModelToXMLDumperprotected abstract org.apache.camel.spi.ModelToYAMLDumperprotected abstract org.apache.camel.spi.NodeIdFactoryprotected abstract org.apache.camel.spi.PackageScanClassResolverprotected abstract org.apache.camel.spi.PackageScanResourceResolverprotected abstract org.apache.camel.spi.PeriodTaskResolverprotected abstract org.apache.camel.spi.PeriodTaskSchedulerprotected abstract org.apache.camel.spi.ProcessorExchangeFactoryprotected abstract org.apache.camel.spi.ProcessorFactoryorg.apache.camel.ProducerTemplateorg.apache.camel.ProducerTemplatecreateProducerTemplate(int maximumCacheSize) protected abstract org.apache.camel.spi.PropertiesComponentprotected abstract org.apache.camel.spi.ReactiveExecutorprotected abstract org.apache.camel.spi.Registryprotected abstract org.apache.camel.spi.ResourceLoaderprotected abstract org.apache.camel.spi.RestBindingJaxbDataFormatFactoryprotected org.apache.camel.spi.RestConfigurationprotected org.apache.camel.spi.RestRegistryprotected abstract org.apache.camel.spi.RestRegistryFactoryprotected abstract org.apache.camel.spi.RouteControllerprotected abstract org.apache.camel.spi.RouteFactoryprotected abstract org.apache.camel.spi.RoutesLoaderprotected abstract org.apache.camel.catalog.RuntimeCamelCatalogprotected abstract org.apache.camel.spi.ShutdownStrategyprotected abstract org.apache.camel.spi.StartupConditionStrategyprotected abstract org.apache.camel.spi.StreamCachingStrategyprotected abstract org.apache.camel.spi.Tracerprotected abstract org.apache.camel.spi.TransformerRegistryprotected abstract org.apache.camel.TypeConverterprotected abstract org.apache.camel.spi.TypeConverterRegistryprotected abstract org.apache.camel.spi.UnitOfWorkFactoryprotected abstract org.apache.camel.spi.UriFactoryResolverprotected abstract org.apache.camel.spi.UuidGeneratorprotected abstract org.apache.camel.spi.ValidatorRegistryprotected abstract org.apache.camel.spi.VariableRepositoryFactoryvoiddeferStartService(Object object, boolean stopOnShutdown) voidabstract voidDeprecated.voiddoBuild()protected voidprotected voidprotected org.apache.camel.EndpointdoGetEndpoint(String uri, Map<String, Object> parameters, boolean normalized, boolean prototype) voiddoInit()protected AutoCloseableprotected voiddoResume()protected voiddoShutdownRoute(String routeId, long timeout, TimeUnit timeUnit, boolean removingRoutes, org.apache.camel.LoggingLevel loggingLevel) protected voiddoStart()protected voidprotected voidprotected voidprotected voiddoStop()protected voidprotected booleanWhether to eager createTypeConverterduring initialization of CamelContext.protected voidprotected voidForce some lazy initialization to occur upfront before we start any components and create routesprotected voidForce clear lazy initialization so they can be re-created on restartorg.apache.camel.ExtendedCamelContextorg.apache.camel.CamelContextorg.apache.camel.spi.ClassResolverorg.apache.camel.clock.EventClock<org.apache.camel.ContextEvents> getClock()org.apache.camel.ComponentgetComponent(String name) org.apache.camel.ComponentgetComponent(String name, boolean autoCreateComponents) org.apache.camel.ComponentgetComponent(String name, boolean autoCreateComponents, boolean autoStart) <T extends org.apache.camel.Component>
TgetComponent(String name, Class<T> componentType) getComponentParameterJsonSchema(String componentName) getDataFormatParameterJsonSchema(String dataFormatName) org.apache.camel.spi.DebuggergetDevConsoleParameterJsonSchema(String devConsoleName) getEipParameterJsonSchema(String eipName) org.apache.camel.EndpointgetEndpoint(String uri) <T extends org.apache.camel.Endpoint>
TgetEndpoint(String name, Class<T> endpointType) org.apache.camel.EndpointgetEndpoint(String uri, Map<String, Object> parameters) protected org.apache.camel.support.NormalizedUrigetEndpointKey(String uri) Gets the endpoint key to use for lookup or whe adding endpoints to theDefaultEndpointRegistryprotected org.apache.camel.support.NormalizedUrigetEndpointKey(String uri, org.apache.camel.Endpoint endpoint) Gets the endpoint key to use for lookup or whe adding endpoints to theDefaultEndpointRegistryorg.apache.camel.spi.EndpointRegistryCollection<org.apache.camel.Endpoint> org.apache.camel.spi.ExecutorServiceManagerorg.apache.camel.GlobalEndpointConfigurationgetGlobalOption(String key) org.apache.camel.spi.InflightRepositoryorg.apache.camel.spi.InjectorgetLanguageParameterJsonSchema(String languageName) List<org.apache.camel.spi.LifecycleStrategy> protected LockgetLock()org.apache.camel.spi.ManagementNameStrategyorg.apache.camel.spi.ManagementStrategyorg.apache.camel.spi.MessageHistoryFactorygetName()org.apache.camel.spi.CamelContextNameStrategygetPojoBeanParameterJsonSchema(String beanName) org.apache.camel.ProcessorgetProcessor(String id) <T extends org.apache.camel.Processor>
TgetProcessor(String id, Class<T> type) org.apache.camel.spi.PropertiesComponentorg.apache.camel.spi.Registry<T> TgetRegistry(Class<T> type) org.apache.camel.spi.RestConfigurationorg.apache.camel.spi.RestRegistryorg.apache.camel.Routeorg.apache.camel.spi.RouteControllerList<org.apache.camel.spi.RoutePolicyFactory> List<org.apache.camel.Route> protected Map<String, RouteService> intorg.apache.camel.ServiceStatusgetRouteStatus(String key) org.apache.camel.spi.RuntimeEndpointRegistryorg.apache.camel.ShutdownRouteorg.apache.camel.ShutdownRunningTaskorg.apache.camel.spi.ShutdownStrategyorg.apache.camel.support.jsse.SSLContextParametersprotected List<org.apache.camel.StartupListener> org.apache.camel.StartupSummaryLevelorg.apache.camel.spi.StreamCachingStrategyabstract Stringorg.apache.camel.spi.TracergetTransformerParameterJsonSchema(String transformerName) org.apache.camel.spi.TransformerRegistryorg.apache.camel.TypeConverterorg.apache.camel.spi.TypeConverterRegistryorg.apache.camel.spi.UuidGeneratororg.apache.camel.spi.ValidatorRegistrygetVariable(String name) <T> TgetVariable(String name, Class<T> type) org.apache.camel.vault.VaultConfigurationorg.apache.camel.ComponenthasComponent(String componentName) org.apache.camel.EndpointhasEndpoint(String uri) <T> ThasService(Class<T> type) booleanhasService(Object object) org.apache.camel.ServicehasService(Predicate<org.apache.camel.Service> filter) <T> Set<T> hasServices(Class<T> type) voidinit()protected voidInitializes eager some mandatory services which needs to warmup and be ready as this helps optimize Camel at runtime.protected voidCalled during object construction to initialize context pluginsbooleanbooleanbooleanbooleanbooleanbooleanprotected booleanbooleanbooleanbooleanprotected voidprotected voidlogRouteStartSummary(org.apache.camel.LoggingLevel loggingLevel) protected voidlogRouteState(org.apache.camel.Route route, String state, org.apache.camel.LoggingLevel loggingLevel) protected voidlogRouteStopSummary(org.apache.camel.LoggingLevel loggingLevel) protected voidprotected static <T> Tvoidorg.apache.camel.ComponentremoveComponent(String componentName) voidremoveEndpoint(org.apache.camel.Endpoint endpoint) Collection<org.apache.camel.Endpoint> removeEndpoints(String uri) booleanremoveRoute(String routeId) protected booleanremoveRoute(String routeId, org.apache.camel.LoggingLevel loggingLevel) voidremoveRoute(org.apache.camel.Route route) voidbooleanremoveService(Object object) protected voidInternal API to reset build time.org.apache.camel.spi.DataFormatresolveDataFormat(String name) org.apache.camel.spi.LanguageresolveLanguage(String name) org.apache.camel.spi.TransformerresolveTransformer(String name) org.apache.camel.spi.TransformerresolveTransformer(org.apache.camel.spi.DataType from, org.apache.camel.spi.DataType to) org.apache.camel.spi.ValidatorresolveValidator(org.apache.camel.spi.DataType type) voidresumeRoute(String routeId) voidresumeRoute(String routeId, org.apache.camel.LoggingLevel loggingLevel) protected voidresumeRouteService(RouteService routeService) Resumes the given route serviceprotected booleanrouteSupportsSuspension(String routeId) voidsetAllowUseOriginalMessage(Boolean allowUseOriginalMessage) voidsetApplicationContextClassLoader(ClassLoader classLoader) voidsetAutoCreateComponents(boolean autoCreateComponents) voidsetAutoStartup(Boolean autoStartup) voidsetAutoStartupExcludePattern(String autoStartupExcludePattern) voidsetAutowiredEnabled(Boolean autowiredEnabled) voidsetBacklogTracing(Boolean backlogTrace) voidsetBacklogTracingStandby(boolean backlogTracingStandby) voidsetBacklogTracingTemplates(boolean backlogTracingTemplates) voidsetCaseInsensitiveHeaders(Boolean caseInsensitiveHeaders) voidsetClassResolver(org.apache.camel.spi.ClassResolver classResolver) voidsetDebugger(org.apache.camel.spi.Debugger debugger) voidsetDebugging(Boolean debug) voidsetDebuggingBreakpoints(String debugBreakpoints) voidsetDebugStandby(boolean debugStandby) voidsetDelayer(Long delay) voidsetDevConsole(Boolean loadDevConsoles) voidsetDumpRoutes(String dumpRoutes) voidsetExecutorServiceManager(org.apache.camel.spi.ExecutorServiceManager executorServiceManager) voidsetGlobalOptions(Map<String, String> globalOptions) voidsetInflightRepository(org.apache.camel.spi.InflightRepository repository) voidsetInjector(org.apache.camel.spi.Injector injector) voidsetLoadHealthChecks(Boolean loadHealthChecks) voidsetLoadTypeConverters(Boolean loadTypeConverters) voidsetLockModel(boolean lockModel) voidsetLogExhaustedMessageBody(Boolean logExhaustedMessageBody) voidsetLogMask(Boolean logMask) voidsetManagementName(String managementName) voidsetManagementNameStrategy(org.apache.camel.spi.ManagementNameStrategy managementNameStrategy) voidsetManagementStrategy(org.apache.camel.spi.ManagementStrategy managementStrategy) voidsetMDCLoggingKeysPattern(String pattern) voidsetMessageHistory(Boolean messageHistory) voidsetMessageHistoryFactory(org.apache.camel.spi.MessageHistoryFactory messageHistoryFactory) voidsetModeline(Boolean modeline) voidsetNameStrategy(org.apache.camel.spi.CamelContextNameStrategy nameStrategy) voidsetPropertiesComponent(org.apache.camel.spi.PropertiesComponent propertiesComponent) voidsetRestConfiguration(org.apache.camel.spi.RestConfiguration restConfiguration) voidsetRestRegistry(org.apache.camel.spi.RestRegistry restRegistry) voidsetRouteController(org.apache.camel.spi.RouteController routeController) voidsetRuntimeEndpointRegistry(org.apache.camel.spi.RuntimeEndpointRegistry runtimeEndpointRegistry) voidsetShutdownRoute(org.apache.camel.ShutdownRoute shutdownRoute) voidsetShutdownRunningTask(org.apache.camel.ShutdownRunningTask shutdownRunningTask) voidsetShutdownStrategy(org.apache.camel.spi.ShutdownStrategy shutdownStrategy) voidsetSourceLocationEnabled(Boolean sourceLocationEnabled) voidsetSSLContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) voidsetStartingRoutes(boolean starting) voidsetStartupSummaryLevel(org.apache.camel.StartupSummaryLevel startupSummaryLevel) voidsetStreamCaching(Boolean cache) voidsetStreamCachingStrategy(org.apache.camel.spi.StreamCachingStrategy streamCachingStrategy) voidsetTracer(org.apache.camel.spi.Tracer tracer) voidsetTracing(Boolean tracing) voidsetTracingLoggingFormat(String format) voidsetTracingPattern(String tracePattern) voidsetTracingStandby(boolean tracingStandby) voidsetTracingTemplates(boolean tracingTemplates) voidsetTypeConverterRegistry(org.apache.camel.spi.TypeConverterRegistry typeConverterRegistry) voidsetTypeConverterStatisticsEnabled(Boolean typeConverterStatisticsEnabled) voidsetUseBreadcrumb(Boolean useBreadcrumb) voidsetUseDataType(Boolean useDataType) voidsetUseMDCLogging(Boolean useMDCLogging) voidsetUuidGenerator(org.apache.camel.spi.UuidGenerator uuidGenerator) voidsetVariable(String name, Object value) voidsetVaultConfiguration(org.apache.camel.vault.VaultConfiguration vaultConfiguration) protected booleanShould we start newly added routes?protected voidshutdownRouteService(RouteService routeService) protected voidshutdownRouteService(RouteService routeService, org.apache.camel.LoggingLevel loggingLevel) voidstart()voidvoidstartRoute(String routeId) voidstartRoute(String routeId, org.apache.camel.LoggingLevel loggingLevel) voidvoidstartRouteService(RouteService routeService, boolean addingRoutes) Starts the given route servicevoidstop()voidvoidvoidbooleanstopRoute(String routeId, long timeout, TimeUnit timeUnit, boolean abortAfterTimeout, org.apache.camel.LoggingLevel loggingLevel) voidprotected voidstopRouteService(RouteService routeService, boolean removingRoutes, org.apache.camel.LoggingLevel loggingLevel) protected voidstopRouteService(RouteService routeService, org.apache.camel.LoggingLevel loggingLevel) voidsuspendRoute(String routeId) voidsuspendRoute(String routeId, long timeout, TimeUnit timeUnit) protected voidsuspendRouteService(RouteService routeService) toString()Methods inherited from class org.apache.camel.support.service.BaseService
build, doShutdown, fail, getInternalLock, getStatus, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.CamelContext
addRouteFromKamelet, addRouteFromTemplate, addRouteFromTemplate, addRouteFromTemplate, removeRouteTemplatesMethods inherited from interface org.apache.camel.CamelContextLifecycle
build, getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, suspend
-
Constructor Details
-
AbstractCamelContext
protected AbstractCamelContext()Creates theCamelContextusingDefaultRegistryas registry. Use one of the other constructors to force use an explicit registry. -
AbstractCamelContext
protected AbstractCamelContext(org.apache.camel.spi.Registry registry) Creates theCamelContextusing the given registry- Parameters:
registry- the registry
-
AbstractCamelContext
protected AbstractCamelContext(boolean build)
-
-
Method Details
-
initPlugins
protected void initPlugins()Called during object construction to initialize context plugins -
lookup
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.apache.camel.CamelContextLifecycle- Throws:
IOException
-
getCamelContextReference
public org.apache.camel.CamelContext getCamelContextReference() -
eagerCreateTypeConverter
protected boolean eagerCreateTypeConverter()Whether to eager createTypeConverterduring initialization of CamelContext. This is enabled by default to optimize camel-core. -
isVetoStarted
public boolean isVetoStarted()- Specified by:
isVetoStartedin interfaceorg.apache.camel.CamelContext
-
getNameStrategy
public org.apache.camel.spi.CamelContextNameStrategy getNameStrategy()- Specified by:
getNameStrategyin interfaceorg.apache.camel.CamelContext
-
setNameStrategy
public void setNameStrategy(org.apache.camel.spi.CamelContextNameStrategy nameStrategy) - Specified by:
setNameStrategyin interfaceorg.apache.camel.CamelContext
-
getManagementNameStrategy
public org.apache.camel.spi.ManagementNameStrategy getManagementNameStrategy()- Specified by:
getManagementNameStrategyin interfaceorg.apache.camel.CamelContext
-
setManagementNameStrategy
public void setManagementNameStrategy(org.apache.camel.spi.ManagementNameStrategy managementNameStrategy) - Specified by:
setManagementNameStrategyin interfaceorg.apache.camel.CamelContext
-
getManagementName
- Specified by:
getManagementNamein interfaceorg.apache.camel.CamelContext
-
setManagementName
- Specified by:
setManagementNamein interfaceorg.apache.camel.CamelContext
-
hasComponent
- Specified by:
hasComponentin interfaceorg.apache.camel.CamelContext
-
addComponent
- Specified by:
addComponentin interfaceorg.apache.camel.CamelContext
-
getComponent
- Specified by:
getComponentin interfaceorg.apache.camel.CamelContext
-
getComponent
- Specified by:
getComponentin interfaceorg.apache.camel.CamelContext
-
getComponent
public org.apache.camel.Component getComponent(String name, boolean autoCreateComponents, boolean autoStart) - Specified by:
getComponentin interfaceorg.apache.camel.CamelContext
-
getComponent
- Specified by:
getComponentin interfaceorg.apache.camel.CamelContext
-
removeComponent
- Specified by:
removeComponentin interfaceorg.apache.camel.CamelContext
-
getEndpointRegistry
public org.apache.camel.spi.EndpointRegistry getEndpointRegistry()- Specified by:
getEndpointRegistryin interfaceorg.apache.camel.CamelContext
-
getEndpoints
- Specified by:
getEndpointsin interfaceorg.apache.camel.CamelContext
-
hasEndpoint
- Specified by:
hasEndpointin interfaceorg.apache.camel.CamelContext
-
addEndpoint
public org.apache.camel.Endpoint addEndpoint(String uri, org.apache.camel.Endpoint endpoint) throws Exception - Specified by:
addEndpointin interfaceorg.apache.camel.CamelContext- Throws:
Exception
-
removeEndpoint
public void removeEndpoint(org.apache.camel.Endpoint endpoint) - Specified by:
removeEndpointin interfaceorg.apache.camel.CamelContext
-
removeEndpoints
- Specified by:
removeEndpointsin interfaceorg.apache.camel.CamelContext
-
getEndpoint
- Specified by:
getEndpointin interfaceorg.apache.camel.CamelContext
-
getEndpoint
- Specified by:
getEndpointin interfaceorg.apache.camel.CamelContext
-
doGetEndpoint
-
getEndpoint
- Specified by:
getEndpointin interfaceorg.apache.camel.CamelContext
-
addEndpointToRegistry
protected org.apache.camel.Endpoint addEndpointToRegistry(String uri, org.apache.camel.Endpoint endpoint) Strategy to add the given endpoint to the internal endpoint registry- Parameters:
uri- uri of the endpointendpoint- the endpoint to add- Returns:
- the added endpoint
-
getEndpointKey
Gets the endpoint key to use for lookup or whe adding endpoints to theDefaultEndpointRegistry- Parameters:
uri- the endpoint uri- Returns:
- the key
-
getEndpointKey
protected org.apache.camel.support.NormalizedUri getEndpointKey(String uri, org.apache.camel.Endpoint endpoint) Gets the endpoint key to use for lookup or whe adding endpoints to theDefaultEndpointRegistry- Parameters:
uri- the endpoint uriendpoint- the endpoint- Returns:
- the key
-
getGlobalEndpointConfiguration
public org.apache.camel.GlobalEndpointConfiguration getGlobalEndpointConfiguration()- Specified by:
getGlobalEndpointConfigurationin interfaceorg.apache.camel.CamelContext
-
getRouteController
public org.apache.camel.spi.RouteController getRouteController()- Specified by:
getRouteControllerin interfaceorg.apache.camel.CamelContext
-
setRouteController
public void setRouteController(org.apache.camel.spi.RouteController routeController) - Specified by:
setRouteControllerin interfaceorg.apache.camel.CamelContext
-
getRoutes
- Specified by:
getRoutesin interfaceorg.apache.camel.CamelContext
-
getRoutesSize
public int getRoutesSize()- Specified by:
getRoutesSizein interfaceorg.apache.camel.CamelContext
-
getRoute
- Specified by:
getRoutein interfaceorg.apache.camel.CamelContext
-
getProcessor
- Specified by:
getProcessorin interfaceorg.apache.camel.CamelContext
-
getProcessor
- Specified by:
getProcessorin interfaceorg.apache.camel.CamelContext
-
addRoutes
- Specified by:
addRoutesin interfaceorg.apache.camel.CamelContext- Throws:
Exception
-
addTemplatedRoutes
- Specified by:
addTemplatedRoutesin interfaceorg.apache.camel.CamelContext- Throws:
Exception
-
addRoutesConfigurations
public void addRoutesConfigurations(org.apache.camel.RouteConfigurationsBuilder builder) throws Exception - Specified by:
addRoutesConfigurationsin interfaceorg.apache.camel.CamelContext- Throws:
Exception
-
getRouteStatus
-
isStartingRoutes
public boolean isStartingRoutes() -
setStartingRoutes
public void setStartingRoutes(boolean starting) -
isLockModel
public boolean isLockModel() -
setLockModel
public void setLockModel(boolean lockModel) -
startAllRoutes
- Throws:
Exception
-
stopAllRoutes
- Throws:
Exception
-
removeAllRoutes
- Throws:
Exception
-
startRoute
- Throws:
Exception
-
startRoute
- Throws:
Exception
-
resumeRoute
- Throws:
Exception
-
resumeRoute
public void resumeRoute(String routeId, org.apache.camel.LoggingLevel loggingLevel) throws Exception - Throws:
Exception
-
stopRoute
public boolean stopRoute(String routeId, long timeout, TimeUnit timeUnit, boolean abortAfterTimeout, org.apache.camel.LoggingLevel loggingLevel) throws Exception - Throws:
Exception
-
stopRoute
- Throws:
Exception
-
stopRoute
- Throws:
Exception
-
stopRoute
- Throws:
Exception
-
doShutdownRoute
protected void doShutdownRoute(String routeId, long timeout, TimeUnit timeUnit, boolean removingRoutes, org.apache.camel.LoggingLevel loggingLevel) throws Exception - Throws:
Exception
-
removeRoute
- Specified by:
removeRoutein interfaceorg.apache.camel.CamelContext- Throws:
Exception
-
removeRoute
protected boolean removeRoute(String routeId, org.apache.camel.LoggingLevel loggingLevel) throws Exception - Throws:
Exception
-
suspendRoute
- Throws:
Exception
-
suspendRoute
- Throws:
Exception
-
addService
- Specified by:
addServicein interfaceorg.apache.camel.CamelContext- Throws:
Exception
-
addService
- Specified by:
addServicein interfaceorg.apache.camel.CamelContext- Throws:
Exception
-
addService
- Specified by:
addServicein interfaceorg.apache.camel.CamelContext- Throws:
Exception
-
addPrototypeService
- Specified by:
addPrototypeServicein interfaceorg.apache.camel.CamelContext
-
removeService
- Specified by:
removeServicein interfaceorg.apache.camel.CamelContext- Throws:
Exception
-
hasService
- Specified by:
hasServicein interfaceorg.apache.camel.CamelContext
-
hasService
- Specified by:
hasServicein interfaceorg.apache.camel.CamelContext
-
hasServices
- Specified by:
hasServicesin interfaceorg.apache.camel.CamelContext
-
hasService
- Specified by:
hasServicein interfaceorg.apache.camel.CamelContext
-
deferStartService
- Specified by:
deferStartServicein interfaceorg.apache.camel.CamelContext
-
getStartupListeners
-
addStartupListener
- Specified by:
addStartupListenerin interfaceorg.apache.camel.CamelContext- Throws:
Exception
-
getComponentParameterJsonSchema
- Specified by:
getComponentParameterJsonSchemain interfaceorg.apache.camel.CatalogCamelContext- Throws:
IOException
-
getDataFormatParameterJsonSchema
- Specified by:
getDataFormatParameterJsonSchemain interfaceorg.apache.camel.CatalogCamelContext- Throws:
IOException
-
getLanguageParameterJsonSchema
- Specified by:
getLanguageParameterJsonSchemain interfaceorg.apache.camel.CatalogCamelContext- Throws:
IOException
-
getTransformerParameterJsonSchema
- Specified by:
getTransformerParameterJsonSchemain interfaceorg.apache.camel.CatalogCamelContext- Throws:
IOException
-
getDevConsoleParameterJsonSchema
- Specified by:
getDevConsoleParameterJsonSchemain interfaceorg.apache.camel.CatalogCamelContext- Throws:
IOException
-
getPojoBeanParameterJsonSchema
- Specified by:
getPojoBeanParameterJsonSchemain interfaceorg.apache.camel.CatalogCamelContext- Throws:
IOException
-
getEipParameterJsonSchema
- Specified by:
getEipParameterJsonSchemain interfaceorg.apache.camel.CatalogCamelContext- Throws:
IOException
-
resolveLanguage
- Specified by:
resolveLanguagein interfaceorg.apache.camel.CamelContext
-
resolvePropertyPlaceholders
- Specified by:
resolvePropertyPlaceholdersin interfaceorg.apache.camel.CamelContext
-
getVariable
- Specified by:
getVariablein interfaceorg.apache.camel.CamelContext
-
getVariable
- Specified by:
getVariablein interfaceorg.apache.camel.CamelContext
-
setVariable
- Specified by:
setVariablein interfaceorg.apache.camel.CamelContext
-
getTypeConverter
public org.apache.camel.TypeConverter getTypeConverter()- Specified by:
getTypeConverterin interfaceorg.apache.camel.CamelContext
-
getTypeConverterRegistry
public org.apache.camel.spi.TypeConverterRegistry getTypeConverterRegistry()- Specified by:
getTypeConverterRegistryin interfaceorg.apache.camel.CamelContext
-
setTypeConverterRegistry
public void setTypeConverterRegistry(org.apache.camel.spi.TypeConverterRegistry typeConverterRegistry) - Specified by:
setTypeConverterRegistryin interfaceorg.apache.camel.CamelContext
-
getInjector
public org.apache.camel.spi.Injector getInjector()- Specified by:
getInjectorin interfaceorg.apache.camel.CamelContext
-
setInjector
public void setInjector(org.apache.camel.spi.Injector injector) - Specified by:
setInjectorin interfaceorg.apache.camel.CamelContext
-
getPropertiesComponent
public org.apache.camel.spi.PropertiesComponent getPropertiesComponent()- Specified by:
getPropertiesComponentin interfaceorg.apache.camel.CamelContext
-
setPropertiesComponent
public void setPropertiesComponent(org.apache.camel.spi.PropertiesComponent propertiesComponent) - Specified by:
setPropertiesComponentin interfaceorg.apache.camel.CamelContext
-
setAutoCreateComponents
public void setAutoCreateComponents(boolean autoCreateComponents) -
getRegistry
- Specified by:
getRegistryin interfaceorg.apache.camel.CamelContext
-
getLifecycleStrategies
- Specified by:
getLifecycleStrategiesin interfaceorg.apache.camel.CamelContext
-
addLifecycleStrategy
public void addLifecycleStrategy(org.apache.camel.spi.LifecycleStrategy lifecycleStrategy) - Specified by:
addLifecycleStrategyin interfaceorg.apache.camel.CamelContext
-
getRestConfiguration
public org.apache.camel.spi.RestConfiguration getRestConfiguration()- Specified by:
getRestConfigurationin interfaceorg.apache.camel.CamelContext
-
setRestConfiguration
public void setRestConfiguration(org.apache.camel.spi.RestConfiguration restConfiguration) - Specified by:
setRestConfigurationin interfaceorg.apache.camel.CamelContext
-
getVaultConfiguration
public org.apache.camel.vault.VaultConfiguration getVaultConfiguration()- Specified by:
getVaultConfigurationin interfaceorg.apache.camel.CamelContext
-
setVaultConfiguration
public void setVaultConfiguration(org.apache.camel.vault.VaultConfiguration vaultConfiguration) - Specified by:
setVaultConfigurationin interfaceorg.apache.camel.CamelContext
-
getRoutePolicyFactories
- Specified by:
getRoutePolicyFactoriesin interfaceorg.apache.camel.CamelContext
-
addRoutePolicyFactory
public void addRoutePolicyFactory(org.apache.camel.spi.RoutePolicyFactory routePolicyFactory) - Specified by:
addRoutePolicyFactoryin interfaceorg.apache.camel.CamelContext
-
setStreamCaching
- Specified by:
setStreamCachingin interfaceorg.apache.camel.RuntimeConfiguration
-
isStreamCaching
- Specified by:
isStreamCachingin interfaceorg.apache.camel.RuntimeConfiguration
-
setTracing
- Specified by:
setTracingin interfaceorg.apache.camel.RuntimeConfiguration
-
isTracing
- Specified by:
isTracingin interfaceorg.apache.camel.RuntimeConfiguration
-
getTracingPattern
- Specified by:
getTracingPatternin interfaceorg.apache.camel.RuntimeConfiguration
-
setTracingPattern
- Specified by:
setTracingPatternin interfaceorg.apache.camel.RuntimeConfiguration
-
getTracingLoggingFormat
- Specified by:
getTracingLoggingFormatin interfaceorg.apache.camel.CamelContext
-
setTracingLoggingFormat
- Specified by:
setTracingLoggingFormatin interfaceorg.apache.camel.CamelContext
-
isBacklogTracing
- Specified by:
isBacklogTracingin interfaceorg.apache.camel.RuntimeConfiguration
-
setBacklogTracing
- Specified by:
setBacklogTracingin interfaceorg.apache.camel.RuntimeConfiguration
-
setDebugging
- Specified by:
setDebuggingin interfaceorg.apache.camel.RuntimeConfiguration
-
isDebugging
- Specified by:
isDebuggingin interfaceorg.apache.camel.RuntimeConfiguration
-
setDebugStandby
public void setDebugStandby(boolean debugStandby) - Specified by:
setDebugStandbyin interfaceorg.apache.camel.CamelContext
-
isDebugStandby
public boolean isDebugStandby()- Specified by:
isDebugStandbyin interfaceorg.apache.camel.CamelContext
-
setDebuggingBreakpoints
-
getDebuggingBreakpoints
-
setMessageHistory
- Specified by:
setMessageHistoryin interfaceorg.apache.camel.RuntimeConfiguration
-
isMessageHistory
- Specified by:
isMessageHistoryin interfaceorg.apache.camel.RuntimeConfiguration
-
setLogMask
- Specified by:
setLogMaskin interfaceorg.apache.camel.RuntimeConfiguration
-
isLogMask
- Specified by:
isLogMaskin interfaceorg.apache.camel.RuntimeConfiguration
-
isLogExhaustedMessageBody
- Specified by:
isLogExhaustedMessageBodyin interfaceorg.apache.camel.RuntimeConfiguration
-
setLogExhaustedMessageBody
- Specified by:
setLogExhaustedMessageBodyin interfaceorg.apache.camel.RuntimeConfiguration
-
getDelayer
- Specified by:
getDelayerin interfaceorg.apache.camel.RuntimeConfiguration
-
setDelayer
- Specified by:
setDelayerin interfaceorg.apache.camel.RuntimeConfiguration
-
createProducerTemplate
public org.apache.camel.ProducerTemplate createProducerTemplate()- Specified by:
createProducerTemplatein interfaceorg.apache.camel.CamelContext
-
createProducerTemplate
public org.apache.camel.ProducerTemplate createProducerTemplate(int maximumCacheSize) - Specified by:
createProducerTemplatein interfaceorg.apache.camel.CamelContext
-
createFluentProducerTemplate
public org.apache.camel.FluentProducerTemplate createFluentProducerTemplate()- Specified by:
createFluentProducerTemplatein interfaceorg.apache.camel.CamelContext
-
createFluentProducerTemplate
public org.apache.camel.FluentProducerTemplate createFluentProducerTemplate(int maximumCacheSize) - Specified by:
createFluentProducerTemplatein interfaceorg.apache.camel.CamelContext
-
createConsumerTemplate
public org.apache.camel.ConsumerTemplate createConsumerTemplate()- Specified by:
createConsumerTemplatein interfaceorg.apache.camel.CamelContext
-
createConsumerTemplate
public org.apache.camel.ConsumerTemplate createConsumerTemplate(int maximumCacheSize) - Specified by:
createConsumerTemplatein interfaceorg.apache.camel.CamelContext
-
createErrorHandlerExecutorService
-
getRuntimeEndpointRegistry
public org.apache.camel.spi.RuntimeEndpointRegistry getRuntimeEndpointRegistry()- Specified by:
getRuntimeEndpointRegistryin interfaceorg.apache.camel.CamelContext
-
setRuntimeEndpointRegistry
public void setRuntimeEndpointRegistry(org.apache.camel.spi.RuntimeEndpointRegistry runtimeEndpointRegistry) - Specified by:
setRuntimeEndpointRegistryin interfaceorg.apache.camel.CamelContext
-
getUptime
- Specified by:
getUptimein interfaceorg.apache.camel.CamelContext
-
getVersion
- Specified by:
getVersionin interfaceorg.apache.camel.CamelContext
-
getClock
public org.apache.camel.clock.EventClock<org.apache.camel.ContextEvents> getClock()- Specified by:
getClockin interfaceorg.apache.camel.CamelContext
-
doSuspend
- Overrides:
doSuspendin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
doResume
- Overrides:
doResumein classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
doLifecycleChange
- Overrides:
doLifecycleChangein classorg.apache.camel.support.service.BaseService
-
init
public void init()- Specified by:
initin interfaceorg.apache.camel.CamelContextLifecycle- Overrides:
initin classorg.apache.camel.support.service.BaseService
-
start
public void start()- Specified by:
startin interfaceorg.apache.camel.CamelContextLifecycle- Overrides:
startin classorg.apache.camel.support.service.BaseService
-
stop
public void stop()- Specified by:
stopin interfaceorg.apache.camel.CamelContextLifecycle- Overrides:
stopin classorg.apache.camel.support.service.BaseService
-
doBuild
- Overrides:
doBuildin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
resetBuildTime
protected void resetBuildTime()Internal API to reset build time. Used by quarkus. -
doInit
- Overrides:
doInitin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
doStart
- Overrides:
doStartin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
doStartContext
- Throws:
Exception
-
logDuplicateComponents
protected void logDuplicateComponents() -
logStartSummary
protected void logStartSummary() -
doStartCamel
- Throws:
Exception
-
doStop
- Overrides:
doStopin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
doFail
- Overrides:
doFailin classorg.apache.camel.support.service.BaseService
-
doDumpRoutes
protected void doDumpRoutes() -
logRouteStopSummary
protected void logRouteStopSummary(org.apache.camel.LoggingLevel loggingLevel) -
logRouteStartSummary
protected void logRouteStartSummary(org.apache.camel.LoggingLevel loggingLevel) -
startRouteDefinitions
- Throws:
Exception
-
removeRouteDefinitionsFromTemplate
- Throws:
Exception
-
isStreamCachingInUse
- Throws:
Exception
-
bindDataFormats
- Throws:
Exception
-
routeSupportsSuspension
-
startRouteService
Starts the given route service- Throws:
Exception
-
resumeRouteService
Resumes the given route service- Throws:
Exception
-
stopRouteService
protected void stopRouteService(RouteService routeService, boolean removingRoutes, org.apache.camel.LoggingLevel loggingLevel) throws Exception - Throws:
Exception
-
logRouteState
protected void logRouteState(org.apache.camel.Route route, String state, org.apache.camel.LoggingLevel loggingLevel) -
stopRouteService
protected void stopRouteService(RouteService routeService, org.apache.camel.LoggingLevel loggingLevel) -
shutdownRouteService
- Throws:
Exception
-
shutdownRouteService
protected void shutdownRouteService(RouteService routeService, org.apache.camel.LoggingLevel loggingLevel) -
suspendRouteService
-
forceLazyInitialization
protected void forceLazyInitialization()Force some lazy initialization to occur upfront before we start any components and create routes -
initEagerMandatoryServices
protected void initEagerMandatoryServices()Initializes eager some mandatory services which needs to warmup and be ready as this helps optimize Camel at runtime. -
doStartStandardServices
protected void doStartStandardServices() -
forceStopLazyInitialization
protected void forceStopLazyInitialization()Force clear lazy initialization so they can be re-created on restart -
createEndpoint
A pluggable strategy to allow an endpoint to be created without requiring a component to be its factory, such as for looking up the URI inside someRegistry- Parameters:
uri- the uri for the endpoint to be created- Returns:
- the newly created endpoint or null if it could not be resolved
-
convertBeanToEndpoint
Strategy method for attempting to convert the bean from aRegistryto an endpoint using some kind of transformation or wrapper- Parameters:
uri- the uri for the endpoint (and name in the registry)bean- the bean to be converted to an endpoint, which will be not null- Returns:
- a new endpoint
-
shouldStartRoutes
protected boolean shouldStartRoutes()Should we start newly added routes? -
getGlobalOptions
- Specified by:
getGlobalOptionsin interfaceorg.apache.camel.CamelContext
-
setGlobalOptions
- Specified by:
setGlobalOptionsin interfaceorg.apache.camel.CamelContext
-
createBootstrapFactoryFinder
-
createFactoryFinder
-
getClassResolver
public org.apache.camel.spi.ClassResolver getClassResolver()- Specified by:
getClassResolverin interfaceorg.apache.camel.CamelContext
-
setClassResolver
public void setClassResolver(org.apache.camel.spi.ClassResolver classResolver) - Specified by:
setClassResolverin interfaceorg.apache.camel.CamelContext
-
getComponentNames
- Specified by:
getComponentNamesin interfaceorg.apache.camel.CamelContext
-
getLanguageNames
- Specified by:
getLanguageNamesin interfaceorg.apache.camel.CamelContext
-
getManagementStrategy
public org.apache.camel.spi.ManagementStrategy getManagementStrategy()- Specified by:
getManagementStrategyin interfaceorg.apache.camel.CamelContext
-
setManagementStrategy
public void setManagementStrategy(org.apache.camel.spi.ManagementStrategy managementStrategy) - Specified by:
setManagementStrategyin interfaceorg.apache.camel.CamelContext
-
disableJMX
public void disableJMX()- Specified by:
disableJMXin interfaceorg.apache.camel.CamelContext
-
isJMXDisabled
public boolean isJMXDisabled() -
getInflightRepository
public org.apache.camel.spi.InflightRepository getInflightRepository()- Specified by:
getInflightRepositoryin interfaceorg.apache.camel.CamelContext
-
setInflightRepository
public void setInflightRepository(org.apache.camel.spi.InflightRepository repository) - Specified by:
setInflightRepositoryin interfaceorg.apache.camel.CamelContext
-
setAutoStartup
- Specified by:
setAutoStartupin interfaceorg.apache.camel.RuntimeConfiguration
-
isAutoStartup
- Specified by:
isAutoStartupin interfaceorg.apache.camel.RuntimeConfiguration
-
getAutoStartupExcludePattern
- Specified by:
getAutoStartupExcludePatternin interfaceorg.apache.camel.CamelContext
-
setAutoStartupExcludePattern
- Specified by:
setAutoStartupExcludePatternin interfaceorg.apache.camel.CamelContext
-
isLoadTypeConverters
- Specified by:
isLoadTypeConvertersin interfaceorg.apache.camel.CamelContext
-
setLoadTypeConverters
- Specified by:
setLoadTypeConvertersin interfaceorg.apache.camel.CamelContext
-
isLoadHealthChecks
- Specified by:
isLoadHealthChecksin interfaceorg.apache.camel.CamelContext
-
setLoadHealthChecks
- Specified by:
setLoadHealthChecksin interfaceorg.apache.camel.CamelContext
-
isModeline
- Specified by:
isModelinein interfaceorg.apache.camel.CamelContext
-
setModeline
- Specified by:
setModelinein interfaceorg.apache.camel.CamelContext
-
isDevConsole
- Specified by:
isDevConsolein interfaceorg.apache.camel.CamelContext
-
setDevConsole
- Specified by:
setDevConsolein interfaceorg.apache.camel.CamelContext
-
isTypeConverterStatisticsEnabled
- Specified by:
isTypeConverterStatisticsEnabledin interfaceorg.apache.camel.CamelContext
-
isSourceLocationEnabled
- Specified by:
isSourceLocationEnabledin interfaceorg.apache.camel.CamelContext
-
setSourceLocationEnabled
- Specified by:
setSourceLocationEnabledin interfaceorg.apache.camel.CamelContext
-
setTypeConverterStatisticsEnabled
- Specified by:
setTypeConverterStatisticsEnabledin interfaceorg.apache.camel.CamelContext
-
getDumpRoutes
- Specified by:
getDumpRoutesin interfaceorg.apache.camel.CamelContext
-
setDumpRoutes
- Specified by:
setDumpRoutesin interfaceorg.apache.camel.CamelContext
-
isUseMDCLogging
- Specified by:
isUseMDCLoggingin interfaceorg.apache.camel.CamelContext
-
setUseMDCLogging
- Specified by:
setUseMDCLoggingin interfaceorg.apache.camel.CamelContext
-
getMDCLoggingKeysPattern
- Specified by:
getMDCLoggingKeysPatternin interfaceorg.apache.camel.CamelContext
-
setMDCLoggingKeysPattern
- Specified by:
setMDCLoggingKeysPatternin interfaceorg.apache.camel.CamelContext
-
isUseDataType
- Specified by:
isUseDataTypein interfaceorg.apache.camel.CamelContext
-
setUseDataType
- Specified by:
setUseDataTypein interfaceorg.apache.camel.CamelContext
-
isUseBreadcrumb
- Specified by:
isUseBreadcrumbin interfaceorg.apache.camel.CamelContext
-
setUseBreadcrumb
- Specified by:
setUseBreadcrumbin interfaceorg.apache.camel.CamelContext
-
getApplicationContextClassLoader
- Specified by:
getApplicationContextClassLoaderin interfaceorg.apache.camel.CamelContext
-
setApplicationContextClassLoader
- Specified by:
setApplicationContextClassLoaderin interfaceorg.apache.camel.CamelContext
-
resolveDataFormat
- Specified by:
resolveDataFormatin interfaceorg.apache.camel.CamelContext
-
createDataFormat
- Specified by:
createDataFormatin interfaceorg.apache.camel.CamelContext
-
getDataFormatNames
- Specified by:
getDataFormatNamesin interfaceorg.apache.camel.CamelContext
-
getShutdownStrategy
public org.apache.camel.spi.ShutdownStrategy getShutdownStrategy()- Specified by:
getShutdownStrategyin interfaceorg.apache.camel.CamelContext
-
setShutdownStrategy
public void setShutdownStrategy(org.apache.camel.spi.ShutdownStrategy shutdownStrategy) - Specified by:
setShutdownStrategyin interfaceorg.apache.camel.CamelContext
-
getShutdownRoute
public org.apache.camel.ShutdownRoute getShutdownRoute()- Specified by:
getShutdownRoutein interfaceorg.apache.camel.RuntimeConfiguration
-
setShutdownRoute
public void setShutdownRoute(org.apache.camel.ShutdownRoute shutdownRoute) - Specified by:
setShutdownRoutein interfaceorg.apache.camel.RuntimeConfiguration
-
getShutdownRunningTask
public org.apache.camel.ShutdownRunningTask getShutdownRunningTask()- Specified by:
getShutdownRunningTaskin interfaceorg.apache.camel.RuntimeConfiguration
-
setShutdownRunningTask
public void setShutdownRunningTask(org.apache.camel.ShutdownRunningTask shutdownRunningTask) - Specified by:
setShutdownRunningTaskin interfaceorg.apache.camel.RuntimeConfiguration
-
setAllowUseOriginalMessage
- Specified by:
setAllowUseOriginalMessagein interfaceorg.apache.camel.RuntimeConfiguration
-
isAllowUseOriginalMessage
- Specified by:
isAllowUseOriginalMessagein interfaceorg.apache.camel.RuntimeConfiguration
-
isCaseInsensitiveHeaders
- Specified by:
isCaseInsensitiveHeadersin interfaceorg.apache.camel.RuntimeConfiguration
-
setCaseInsensitiveHeaders
- Specified by:
setCaseInsensitiveHeadersin interfaceorg.apache.camel.RuntimeConfiguration
-
isAutowiredEnabled
- Specified by:
isAutowiredEnabledin interfaceorg.apache.camel.RuntimeConfiguration
-
setAutowiredEnabled
- Specified by:
setAutowiredEnabledin interfaceorg.apache.camel.RuntimeConfiguration
-
getExecutorServiceManager
public org.apache.camel.spi.ExecutorServiceManager getExecutorServiceManager()- Specified by:
getExecutorServiceManagerin interfaceorg.apache.camel.CamelContext
-
setExecutorServiceManager
public void setExecutorServiceManager(org.apache.camel.spi.ExecutorServiceManager executorServiceManager) - Specified by:
setExecutorServiceManagerin interfaceorg.apache.camel.CamelContext
-
getMessageHistoryFactory
public org.apache.camel.spi.MessageHistoryFactory getMessageHistoryFactory()- Specified by:
getMessageHistoryFactoryin interfaceorg.apache.camel.CamelContext
-
setMessageHistoryFactory
public void setMessageHistoryFactory(org.apache.camel.spi.MessageHistoryFactory messageHistoryFactory) - Specified by:
setMessageHistoryFactoryin interfaceorg.apache.camel.CamelContext
-
getDebugger
public org.apache.camel.spi.Debugger getDebugger()- Specified by:
getDebuggerin interfaceorg.apache.camel.CamelContext
-
setDebugger
public void setDebugger(org.apache.camel.spi.Debugger debugger) - Specified by:
setDebuggerin interfaceorg.apache.camel.CamelContext
-
getTracer
public org.apache.camel.spi.Tracer getTracer()- Specified by:
getTracerin interfaceorg.apache.camel.CamelContext
-
setTracer
public void setTracer(org.apache.camel.spi.Tracer tracer) - Specified by:
setTracerin interfaceorg.apache.camel.CamelContext
-
setTracingStandby
public void setTracingStandby(boolean tracingStandby) - Specified by:
setTracingStandbyin interfaceorg.apache.camel.CamelContext
-
isTracingStandby
public boolean isTracingStandby()- Specified by:
isTracingStandbyin interfaceorg.apache.camel.CamelContext
-
setTracingTemplates
public void setTracingTemplates(boolean tracingTemplates) - Specified by:
setTracingTemplatesin interfaceorg.apache.camel.CamelContext
-
isTracingTemplates
public boolean isTracingTemplates()- Specified by:
isTracingTemplatesin interfaceorg.apache.camel.CamelContext
-
setBacklogTracingTemplates
public void setBacklogTracingTemplates(boolean backlogTracingTemplates) - Specified by:
setBacklogTracingTemplatesin interfaceorg.apache.camel.CamelContext
-
isBacklogTracingTemplates
public boolean isBacklogTracingTemplates()- Specified by:
isBacklogTracingTemplatesin interfaceorg.apache.camel.CamelContext
-
setBacklogTracingStandby
public void setBacklogTracingStandby(boolean backlogTracingStandby) - Specified by:
setBacklogTracingStandbyin interfaceorg.apache.camel.CamelContext
-
isBacklogTracingStandby
public boolean isBacklogTracingStandby()- Specified by:
isBacklogTracingStandbyin interfaceorg.apache.camel.CamelContext
-
getUuidGenerator
public org.apache.camel.spi.UuidGenerator getUuidGenerator()- Specified by:
getUuidGeneratorin interfaceorg.apache.camel.CamelContext
-
setUuidGenerator
public void setUuidGenerator(org.apache.camel.spi.UuidGenerator uuidGenerator) - Specified by:
setUuidGeneratorin interfaceorg.apache.camel.CamelContext
-
getStreamCachingStrategy
public org.apache.camel.spi.StreamCachingStrategy getStreamCachingStrategy()- Specified by:
getStreamCachingStrategyin interfaceorg.apache.camel.CamelContext
-
setStreamCachingStrategy
public void setStreamCachingStrategy(org.apache.camel.spi.StreamCachingStrategy streamCachingStrategy) - Specified by:
setStreamCachingStrategyin interfaceorg.apache.camel.CamelContext
-
getRestRegistry
public org.apache.camel.spi.RestRegistry getRestRegistry()- Specified by:
getRestRegistryin interfaceorg.apache.camel.CamelContext
-
setRestRegistry
public void setRestRegistry(org.apache.camel.spi.RestRegistry restRegistry) - Specified by:
setRestRegistryin interfaceorg.apache.camel.CamelContext
-
createRestRegistry
protected org.apache.camel.spi.RestRegistry createRestRegistry() -
getGlobalOption
- Specified by:
getGlobalOptionin interfaceorg.apache.camel.CamelContext
-
resolveTransformer
- Specified by:
resolveTransformerin interfaceorg.apache.camel.CamelContext
-
resolveTransformer
public org.apache.camel.spi.Transformer resolveTransformer(org.apache.camel.spi.DataType from, org.apache.camel.spi.DataType to) - Specified by:
resolveTransformerin interfaceorg.apache.camel.CamelContext
-
getTransformerRegistry
public org.apache.camel.spi.TransformerRegistry getTransformerRegistry()- Specified by:
getTransformerRegistryin interfaceorg.apache.camel.CamelContext
-
resolveValidator
public org.apache.camel.spi.Validator resolveValidator(org.apache.camel.spi.DataType type) - Specified by:
resolveValidatorin interfaceorg.apache.camel.CamelContext
-
getValidatorRegistry
public org.apache.camel.spi.ValidatorRegistry getValidatorRegistry()- Specified by:
getValidatorRegistryin interfaceorg.apache.camel.CamelContext
-
getSSLContextParameters
public org.apache.camel.support.jsse.SSLContextParameters getSSLContextParameters()- Specified by:
getSSLContextParametersin interfaceorg.apache.camel.CamelContext
-
setSSLContextParameters
public void setSSLContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) - Specified by:
setSSLContextParametersin interfaceorg.apache.camel.CamelContext
-
getStartupSummaryLevel
public org.apache.camel.StartupSummaryLevel getStartupSummaryLevel()- Specified by:
getStartupSummaryLevelin interfaceorg.apache.camel.CamelContext
-
setStartupSummaryLevel
public void setStartupSummaryLevel(org.apache.camel.StartupSummaryLevel startupSummaryLevel) - Specified by:
setStartupSummaryLevelin interfaceorg.apache.camel.CamelContext
-
getRouteServices
-
toString
-
failOnStartup
-
createExchangeFactory
protected abstract org.apache.camel.spi.ExchangeFactory createExchangeFactory() -
createExchangeFactoryManager
protected abstract org.apache.camel.spi.ExchangeFactoryManager createExchangeFactoryManager() -
createProcessorExchangeFactory
protected abstract org.apache.camel.spi.ProcessorExchangeFactory createProcessorExchangeFactory() -
createHealthCheckRegistry
protected abstract org.apache.camel.health.HealthCheckRegistry createHealthCheckRegistry() -
createDevConsoleRegistry
protected abstract org.apache.camel.console.DevConsoleRegistry createDevConsoleRegistry() -
createReactiveExecutor
protected abstract org.apache.camel.spi.ReactiveExecutor createReactiveExecutor() -
createStreamCachingStrategy
protected abstract org.apache.camel.spi.StreamCachingStrategy createStreamCachingStrategy() -
createTypeConverter
protected abstract org.apache.camel.TypeConverter createTypeConverter() -
createTypeConverterRegistry
protected abstract org.apache.camel.spi.TypeConverterRegistry createTypeConverterRegistry() -
createInjector
protected abstract org.apache.camel.spi.Injector createInjector() -
createPropertiesComponent
protected abstract org.apache.camel.spi.PropertiesComponent createPropertiesComponent() -
createBeanPostProcessor
protected abstract org.apache.camel.spi.CamelBeanPostProcessor createBeanPostProcessor() -
createDependencyInjectionAnnotationFactory
protected abstract org.apache.camel.spi.CamelDependencyInjectionAnnotationFactory createDependencyInjectionAnnotationFactory() -
createComponentResolver
protected abstract org.apache.camel.spi.ComponentResolver createComponentResolver() -
createComponentNameResolver
protected abstract org.apache.camel.spi.ComponentNameResolver createComponentNameResolver() -
createRegistry
protected abstract org.apache.camel.spi.Registry createRegistry() -
createUuidGenerator
protected abstract org.apache.camel.spi.UuidGenerator createUuidGenerator() -
createModelJAXBContextFactory
protected abstract org.apache.camel.spi.ModelJAXBContextFactory createModelJAXBContextFactory() -
createNodeIdFactory
protected abstract org.apache.camel.spi.NodeIdFactory createNodeIdFactory() -
createModelineFactory
protected abstract org.apache.camel.spi.ModelineFactory createModelineFactory() -
createPeriodTaskResolver
protected abstract org.apache.camel.spi.PeriodTaskResolver createPeriodTaskResolver() -
createPeriodTaskScheduler
protected abstract org.apache.camel.spi.PeriodTaskScheduler createPeriodTaskScheduler() -
createFactoryFinderResolver
protected abstract org.apache.camel.spi.FactoryFinderResolver createFactoryFinderResolver() -
createClassResolver
protected abstract org.apache.camel.spi.ClassResolver createClassResolver() -
createProcessorFactory
protected abstract org.apache.camel.spi.ProcessorFactory createProcessorFactory() -
createInternalProcessorFactory
protected abstract org.apache.camel.spi.InternalProcessorFactory createInternalProcessorFactory() -
createInterceptEndpointFactory
protected abstract org.apache.camel.spi.InterceptEndpointFactory createInterceptEndpointFactory() -
createRouteFactory
protected abstract org.apache.camel.spi.RouteFactory createRouteFactory() -
createDataFormatResolver
protected abstract org.apache.camel.spi.DataFormatResolver createDataFormatResolver() -
createHealthCheckResolver
protected abstract org.apache.camel.health.HealthCheckResolver createHealthCheckResolver() -
createDevConsoleResolver
protected abstract org.apache.camel.console.DevConsoleResolver createDevConsoleResolver() -
createMessageHistoryFactory
protected abstract org.apache.camel.spi.MessageHistoryFactory createMessageHistoryFactory() -
createInflightRepository
protected abstract org.apache.camel.spi.InflightRepository createInflightRepository() -
createAsyncProcessorAwaitManager
protected abstract org.apache.camel.spi.AsyncProcessorAwaitManager createAsyncProcessorAwaitManager() -
createRouteController
protected abstract org.apache.camel.spi.RouteController createRouteController() -
createShutdownStrategy
protected abstract org.apache.camel.spi.ShutdownStrategy createShutdownStrategy() -
createPackageScanClassResolver
protected abstract org.apache.camel.spi.PackageScanClassResolver createPackageScanClassResolver() -
createPackageScanResourceResolver
protected abstract org.apache.camel.spi.PackageScanResourceResolver createPackageScanResourceResolver() -
createExecutorServiceManager
protected abstract org.apache.camel.spi.ExecutorServiceManager createExecutorServiceManager() -
createUnitOfWorkFactory
protected abstract org.apache.camel.spi.UnitOfWorkFactory createUnitOfWorkFactory() -
createCamelContextNameStrategy
protected abstract org.apache.camel.spi.CamelContextNameStrategy createCamelContextNameStrategy() -
createManagementNameStrategy
protected abstract org.apache.camel.spi.ManagementNameStrategy createManagementNameStrategy() -
createHeadersMapFactory
protected abstract org.apache.camel.spi.HeadersMapFactory createHeadersMapFactory() -
createBeanProxyFactory
protected abstract org.apache.camel.spi.BeanProxyFactory createBeanProxyFactory() -
createAnnotationBasedProcessorFactory
protected abstract org.apache.camel.spi.AnnotationBasedProcessorFactory createAnnotationBasedProcessorFactory() -
createDeferServiceFactory
protected abstract org.apache.camel.spi.DeferServiceFactory createDeferServiceFactory() -
createBeanProcessorFactory
protected abstract org.apache.camel.spi.BeanProcessorFactory createBeanProcessorFactory() -
createBeanIntrospection
protected abstract org.apache.camel.spi.BeanIntrospection createBeanIntrospection() -
createRoutesLoader
protected abstract org.apache.camel.spi.RoutesLoader createRoutesLoader() -
createResourceLoader
protected abstract org.apache.camel.spi.ResourceLoader createResourceLoader() -
createModelToXMLDumper
protected abstract org.apache.camel.spi.ModelToXMLDumper createModelToXMLDumper() -
createModelToYAMLDumper
protected abstract org.apache.camel.spi.ModelToYAMLDumper createModelToYAMLDumper() -
createRestBindingJaxbDataFormatFactory
protected abstract org.apache.camel.spi.RestBindingJaxbDataFormatFactory createRestBindingJaxbDataFormatFactory() -
createRuntimeCamelCatalog
protected abstract org.apache.camel.catalog.RuntimeCamelCatalog createRuntimeCamelCatalog() -
createDumpRoutesStrategy
protected abstract org.apache.camel.spi.DumpRoutesStrategy createDumpRoutesStrategy() -
createTracer
protected abstract org.apache.camel.spi.Tracer createTracer() -
createLanguageResolver
protected abstract org.apache.camel.spi.LanguageResolver createLanguageResolver() -
createConfigurerResolver
protected abstract org.apache.camel.spi.ConfigurerResolver createConfigurerResolver() -
createUriFactoryResolver
protected abstract org.apache.camel.spi.UriFactoryResolver createUriFactoryResolver() -
createRestRegistryFactory
protected abstract org.apache.camel.spi.RestRegistryFactory createRestRegistryFactory() -
createEndpointRegistry
protected abstract org.apache.camel.spi.EndpointRegistry createEndpointRegistry(Map<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint> endpoints) -
createTransformerRegistry
protected abstract org.apache.camel.spi.TransformerRegistry createTransformerRegistry() -
createValidatorRegistry
protected abstract org.apache.camel.spi.ValidatorRegistry createValidatorRegistry() -
createVariableRepositoryFactory
protected abstract org.apache.camel.spi.VariableRepositoryFactory createVariableRepositoryFactory() -
createEndpointServiceRegistry
protected abstract org.apache.camel.spi.EndpointServiceRegistry createEndpointServiceRegistry() -
createStartupConditionStrategy
protected abstract org.apache.camel.spi.StartupConditionStrategy createStartupConditionStrategy() -
createRestConfiguration
protected org.apache.camel.spi.RestConfiguration createRestConfiguration() -
createErrorHandler
public abstract org.apache.camel.Processor createErrorHandler(org.apache.camel.Route route, org.apache.camel.Processor processor) throws Exception - Throws:
Exception
-
disposeModel
Deprecated. -
getTestExcludeRoutes
-
getCamelContextExtension
public org.apache.camel.ExtendedCamelContext getCamelContextExtension()- Specified by:
getCamelContextExtensionin interfaceorg.apache.camel.CamelContext
-
getName
- Specified by:
getNamein interfaceorg.apache.camel.CamelContext
-
getDescription
- Specified by:
getDescriptionin interfaceorg.apache.camel.CamelContext
-
addRoute
public void addRoute(org.apache.camel.Route route) -
removeRoute
public void removeRoute(org.apache.camel.Route route) -
getLock
-
getRegistry
public org.apache.camel.spi.Registry getRegistry()- Specified by:
getRegistryin interfaceorg.apache.camel.CamelContext
-