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, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
-
Constructor Summary
ModifierConstructorDescriptionprotected
Creates theCamelContext
usingDefaultRegistry
as registry.protected
AbstractCamelContext
(boolean build) protected
AbstractCamelContext
(org.apache.camel.spi.Registry registry) Creates theCamelContext
using the given registry -
Method Summary
Modifier and TypeMethodDescriptionvoid
addComponent
(String componentName, org.apache.camel.Component component) org.apache.camel.Endpoint
addEndpoint
(String uri, org.apache.camel.Endpoint endpoint) protected org.apache.camel.Endpoint
addEndpointToRegistry
(String uri, org.apache.camel.Endpoint endpoint) Strategy to add the given endpoint to the internal endpoint registryvoid
addLifecycleStrategy
(org.apache.camel.spi.LifecycleStrategy lifecycleStrategy) void
addPrototypeService
(Object object) void
addRoute
(org.apache.camel.Route route) void
addRoutePolicyFactory
(org.apache.camel.spi.RoutePolicyFactory routePolicyFactory) void
addRoutes
(org.apache.camel.RoutesBuilder builder) void
addRoutesConfigurations
(org.apache.camel.RouteConfigurationsBuilder builder) void
addService
(Object object) void
addService
(Object object, boolean stopOnShutdown) void
addService
(Object object, boolean stopOnShutdown, boolean forceStart) void
addStartupListener
(org.apache.camel.StartupListener listener) void
addTemplatedRoutes
(org.apache.camel.RoutesBuilder builder) protected void
void
close()
protected org.apache.camel.Endpoint
convertBeanToEndpoint
(String uri, Object bean) Strategy method for attempting to convert the bean from aRegistry
to an endpoint using some kind of transformation or wrapperprotected abstract org.apache.camel.spi.AnnotationBasedProcessorFactory
protected abstract org.apache.camel.spi.AsyncProcessorAwaitManager
protected abstract org.apache.camel.spi.BeanIntrospection
protected abstract org.apache.camel.spi.CamelBeanPostProcessor
protected abstract org.apache.camel.spi.BeanProcessorFactory
protected abstract org.apache.camel.spi.BeanProxyFactory
protected org.apache.camel.spi.FactoryFinder
protected abstract org.apache.camel.spi.CamelContextNameStrategy
protected abstract org.apache.camel.spi.ClassResolver
protected abstract org.apache.camel.spi.ComponentNameResolver
protected abstract org.apache.camel.spi.ComponentResolver
protected abstract org.apache.camel.spi.ConfigurerResolver
org.apache.camel.ConsumerTemplate
org.apache.camel.ConsumerTemplate
createConsumerTemplate
(int maximumCacheSize) org.apache.camel.spi.DataFormat
createDataFormat
(String name) protected abstract org.apache.camel.spi.DataFormatResolver
protected abstract org.apache.camel.spi.DeferServiceFactory
protected abstract org.apache.camel.spi.CamelDependencyInjectionAnnotationFactory
protected abstract org.apache.camel.console.DevConsoleRegistry
protected abstract org.apache.camel.console.DevConsoleResolver
protected abstract org.apache.camel.spi.DumpRoutesStrategy
protected org.apache.camel.Endpoint
createEndpoint
(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 someRegistry
protected abstract org.apache.camel.spi.EndpointRegistry
<org.apache.camel.support.NormalizedUri> createEndpointRegistry
(Map<org.apache.camel.support.NormalizedUri, org.apache.camel.Endpoint> endpoints) abstract org.apache.camel.Processor
createErrorHandler
(org.apache.camel.Route route, org.apache.camel.Processor processor) protected ScheduledExecutorService
protected abstract org.apache.camel.spi.ExchangeFactory
protected abstract org.apache.camel.spi.ExchangeFactoryManager
protected abstract org.apache.camel.spi.ExecutorServiceManager
protected org.apache.camel.spi.FactoryFinder
createFactoryFinder
(String path) protected abstract org.apache.camel.spi.FactoryFinderResolver
org.apache.camel.FluentProducerTemplate
org.apache.camel.FluentProducerTemplate
createFluentProducerTemplate
(int maximumCacheSize) protected abstract org.apache.camel.spi.HeadersMapFactory
protected abstract org.apache.camel.health.HealthCheckRegistry
protected abstract org.apache.camel.health.HealthCheckResolver
protected abstract org.apache.camel.spi.InflightRepository
protected abstract org.apache.camel.spi.Injector
protected abstract org.apache.camel.spi.InterceptEndpointFactory
protected abstract org.apache.camel.spi.InternalProcessorFactory
protected abstract org.apache.camel.spi.LanguageResolver
protected abstract org.apache.camel.spi.ManagementNameStrategy
protected abstract org.apache.camel.spi.MessageHistoryFactory
protected abstract org.apache.camel.spi.ModelineFactory
protected abstract org.apache.camel.spi.ModelJAXBContextFactory
protected abstract org.apache.camel.spi.ModelToXMLDumper
protected abstract org.apache.camel.spi.ModelToYAMLDumper
protected abstract org.apache.camel.spi.NodeIdFactory
protected abstract org.apache.camel.spi.PackageScanClassResolver
protected abstract org.apache.camel.spi.PackageScanResourceResolver
protected abstract org.apache.camel.spi.PeriodTaskResolver
protected abstract org.apache.camel.spi.PeriodTaskScheduler
protected abstract org.apache.camel.spi.ProcessorExchangeFactory
protected abstract org.apache.camel.spi.ProcessorFactory
org.apache.camel.ProducerTemplate
org.apache.camel.ProducerTemplate
createProducerTemplate
(int maximumCacheSize) protected abstract org.apache.camel.spi.PropertiesComponent
protected abstract org.apache.camel.spi.ReactiveExecutor
protected abstract org.apache.camel.spi.Registry
protected abstract org.apache.camel.spi.ResourceLoader
protected abstract org.apache.camel.spi.RestBindingJaxbDataFormatFactory
protected org.apache.camel.spi.RestConfiguration
protected org.apache.camel.spi.RestRegistry
protected abstract org.apache.camel.spi.RestRegistryFactory
protected abstract org.apache.camel.spi.RouteController
protected abstract org.apache.camel.spi.RouteFactory
protected abstract org.apache.camel.spi.RoutesLoader
protected abstract org.apache.camel.catalog.RuntimeCamelCatalog
protected abstract org.apache.camel.spi.ShutdownStrategy
protected abstract org.apache.camel.spi.StreamCachingStrategy
protected abstract org.apache.camel.spi.Tracer
protected abstract org.apache.camel.spi.TransformerRegistry
<TransformerKey> protected abstract org.apache.camel.TypeConverter
protected abstract org.apache.camel.spi.TypeConverterRegistry
protected abstract org.apache.camel.spi.UnitOfWorkFactory
protected abstract org.apache.camel.spi.UriFactoryResolver
protected abstract org.apache.camel.spi.UuidGenerator
protected abstract org.apache.camel.spi.ValidatorRegistry
<ValidatorKey> protected abstract org.apache.camel.spi.VariableRepositoryFactory
void
deferStartService
(Object object, boolean stopOnShutdown) void
abstract void
void
doBuild()
protected void
protected void
protected org.apache.camel.Endpoint
doGetEndpoint
(String uri, Map<String, Object> parameters, boolean normalized, boolean prototype) void
doInit()
protected AutoCloseable
protected void
doResume()
protected void
doShutdownRoute
(String routeId, long timeout, TimeUnit timeUnit, boolean removingRoutes, org.apache.camel.LoggingLevel loggingLevel) protected void
doStart()
protected void
protected void
protected void
protected void
doStop()
protected void
protected boolean
Whether to eager createTypeConverter
during initialization of CamelContext.protected void
protected void
Force some lazy initialization to occur upfront before we start any components and create routesprotected void
Force clear lazy initialization so they can be re-created on restartorg.apache.camel.ExtendedCamelContext
org.apache.camel.CamelContext
org.apache.camel.spi.ClassResolver
org.apache.camel.clock.EventClock
<org.apache.camel.ContextEvents> getClock()
org.apache.camel.Component
getComponent
(String name) org.apache.camel.Component
getComponent
(String name, boolean autoCreateComponents) org.apache.camel.Component
getComponent
(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.Debugger
getDevConsoleParameterJsonSchema
(String devConsoleName) getEipParameterJsonSchema
(String eipName) org.apache.camel.Endpoint
getEndpoint
(String uri) <T extends org.apache.camel.Endpoint>
TgetEndpoint
(String name, Class<T> endpointType) org.apache.camel.Endpoint
getEndpoint
(String uri, Map<String, Object> parameters) protected org.apache.camel.support.NormalizedUri
getEndpointKey
(String uri) Gets the endpoint key to use for lookup or whe adding endpoints to theDefaultEndpointRegistry
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
org.apache.camel.spi.EndpointRegistry
<org.apache.camel.support.NormalizedUri> Collection
<org.apache.camel.Endpoint> org.apache.camel.spi.ExecutorServiceManager
org.apache.camel.GlobalEndpointConfiguration
getGlobalOption
(String key) org.apache.camel.spi.InflightRepository
org.apache.camel.spi.Injector
getLanguageParameterJsonSchema
(String languageName) List
<org.apache.camel.spi.LifecycleStrategy> org.apache.camel.spi.ManagementNameStrategy
org.apache.camel.spi.ManagementStrategy
org.apache.camel.spi.MessageHistoryFactory
getName()
org.apache.camel.spi.CamelContextNameStrategy
getPojoBeanParameterJsonSchema
(String beanName) org.apache.camel.Processor
getProcessor
(String id) <T extends org.apache.camel.Processor>
TgetProcessor
(String id, Class<T> type) org.apache.camel.spi.PropertiesComponent
org.apache.camel.spi.Registry
<T> T
getRegistry
(Class<T> type) org.apache.camel.spi.RestConfiguration
org.apache.camel.spi.RestRegistry
org.apache.camel.Route
org.apache.camel.spi.RouteController
List
<org.apache.camel.spi.RoutePolicyFactory> List
<org.apache.camel.Route> protected Map
<String, RouteService> int
org.apache.camel.ServiceStatus
getRouteStatus
(String key) org.apache.camel.spi.RuntimeEndpointRegistry
org.apache.camel.ShutdownRoute
org.apache.camel.ShutdownRunningTask
org.apache.camel.spi.ShutdownStrategy
org.apache.camel.support.jsse.SSLContextParameters
protected List
<org.apache.camel.StartupListener> org.apache.camel.StartupSummaryLevel
org.apache.camel.spi.StreamCachingStrategy
abstract String
org.apache.camel.spi.Tracer
getTransformerParameterJsonSchema
(String transformerName) org.apache.camel.spi.TransformerRegistry
org.apache.camel.TypeConverter
org.apache.camel.spi.TypeConverterRegistry
org.apache.camel.spi.UuidGenerator
org.apache.camel.spi.ValidatorRegistry
getVariable
(String name) <T> T
getVariable
(String name, Class<T> type) org.apache.camel.vault.VaultConfiguration
org.apache.camel.Component
hasComponent
(String componentName) org.apache.camel.Endpoint
hasEndpoint
(String uri) <T> T
hasService
(Class<T> type) boolean
hasService
(Object object) org.apache.camel.Service
hasService
(Predicate<org.apache.camel.Service> filter) <T> Set
<T> hasServices
(Class<T> type) void
init()
protected void
Initializes eager some mandatory services which needs to warmup and be ready as this helps optimize Camel at runtime.protected void
Called during object construction to initialize context pluginsboolean
boolean
boolean
boolean
boolean
boolean
protected boolean
boolean
boolean
boolean
protected void
protected void
logRouteState
(org.apache.camel.Route route, String state, org.apache.camel.LoggingLevel loggingLevel) protected void
logRouteStopSummary
(org.apache.camel.LoggingLevel loggingLevel) protected void
protected static <T> T
void
org.apache.camel.Component
removeComponent
(String componentName) void
removeEndpoint
(org.apache.camel.Endpoint endpoint) Collection
<org.apache.camel.Endpoint> removeEndpoints
(String uri) boolean
removeRoute
(String routeId) protected boolean
removeRoute
(String routeId, org.apache.camel.LoggingLevel loggingLevel) void
removeRoute
(org.apache.camel.Route route) void
boolean
removeService
(Object object) protected void
Internal API to reset build time.org.apache.camel.spi.DataFormat
resolveDataFormat
(String name) org.apache.camel.spi.Language
resolveLanguage
(String name) org.apache.camel.spi.Transformer
resolveTransformer
(String name) org.apache.camel.spi.Transformer
resolveTransformer
(org.apache.camel.spi.DataType from, org.apache.camel.spi.DataType to) org.apache.camel.spi.Validator
resolveValidator
(org.apache.camel.spi.DataType type) void
resumeRoute
(String routeId) protected void
resumeRouteService
(RouteService routeService) Resumes the given route serviceprotected boolean
routeSupportsSuspension
(String routeId) void
setAllowUseOriginalMessage
(Boolean allowUseOriginalMessage) void
setApplicationContextClassLoader
(ClassLoader classLoader) void
setAutoCreateComponents
(boolean autoCreateComponents) void
setAutoStartup
(Boolean autoStartup) void
setAutowiredEnabled
(Boolean autowiredEnabled) void
setBacklogTracing
(Boolean backlogTrace) void
setBacklogTracingStandby
(boolean backlogTracingStandby) void
setBacklogTracingTemplates
(boolean backlogTracingTemplates) void
setCaseInsensitiveHeaders
(Boolean caseInsensitiveHeaders) void
setClassResolver
(org.apache.camel.spi.ClassResolver classResolver) void
setDebugger
(org.apache.camel.spi.Debugger debugger) void
setDebugging
(Boolean debug) void
setDebuggingBreakpoints
(String debugBreakpoints) void
setDebugStandby
(boolean debugStandby) void
setDelayer
(Long delay) void
setDevConsole
(Boolean loadDevConsoles) void
setDumpRoutes
(String dumpRoutes) void
setExecutorServiceManager
(org.apache.camel.spi.ExecutorServiceManager executorServiceManager) void
setGlobalOptions
(Map<String, String> globalOptions) void
setInflightRepository
(org.apache.camel.spi.InflightRepository repository) void
setInjector
(org.apache.camel.spi.Injector injector) void
setLoadHealthChecks
(Boolean loadHealthChecks) void
setLoadTypeConverters
(Boolean loadTypeConverters) void
setLockModel
(boolean lockModel) void
setLogExhaustedMessageBody
(Boolean logExhaustedMessageBody) void
setLogMask
(Boolean logMask) void
setManagementName
(String managementName) void
setManagementNameStrategy
(org.apache.camel.spi.ManagementNameStrategy managementNameStrategy) void
setManagementStrategy
(org.apache.camel.spi.ManagementStrategy managementStrategy) void
setMDCLoggingKeysPattern
(String pattern) void
setMessageHistory
(Boolean messageHistory) void
setMessageHistoryFactory
(org.apache.camel.spi.MessageHistoryFactory messageHistoryFactory) void
setModeline
(Boolean modeline) void
setNameStrategy
(org.apache.camel.spi.CamelContextNameStrategy nameStrategy) void
setPropertiesComponent
(org.apache.camel.spi.PropertiesComponent propertiesComponent) void
setRestConfiguration
(org.apache.camel.spi.RestConfiguration restConfiguration) void
setRestRegistry
(org.apache.camel.spi.RestRegistry restRegistry) void
setRouteController
(org.apache.camel.spi.RouteController routeController) void
setRuntimeEndpointRegistry
(org.apache.camel.spi.RuntimeEndpointRegistry runtimeEndpointRegistry) void
setShutdownRoute
(org.apache.camel.ShutdownRoute shutdownRoute) void
setShutdownRunningTask
(org.apache.camel.ShutdownRunningTask shutdownRunningTask) void
setShutdownStrategy
(org.apache.camel.spi.ShutdownStrategy shutdownStrategy) void
setSourceLocationEnabled
(Boolean sourceLocationEnabled) void
setSSLContextParameters
(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) void
setStartingRoutes
(boolean starting) void
setStartupSummaryLevel
(org.apache.camel.StartupSummaryLevel startupSummaryLevel) void
setStreamCaching
(Boolean cache) void
setStreamCachingStrategy
(org.apache.camel.spi.StreamCachingStrategy streamCachingStrategy) void
setTracer
(org.apache.camel.spi.Tracer tracer) void
setTracing
(Boolean tracing) void
setTracingLoggingFormat
(String format) void
setTracingPattern
(String tracePattern) void
setTracingStandby
(boolean tracingStandby) void
setTracingTemplates
(boolean tracingTemplates) void
setTypeConverterRegistry
(org.apache.camel.spi.TypeConverterRegistry typeConverterRegistry) void
setTypeConverterStatisticsEnabled
(Boolean typeConverterStatisticsEnabled) void
setUseBreadcrumb
(Boolean useBreadcrumb) void
setUseDataType
(Boolean useDataType) void
setUseMDCLogging
(Boolean useMDCLogging) void
setUuidGenerator
(org.apache.camel.spi.UuidGenerator uuidGenerator) void
setVariable
(String name, Object value) void
setVaultConfiguration
(org.apache.camel.vault.VaultConfiguration vaultConfiguration) protected boolean
Should we start newly added routes?protected void
shutdownRouteService
(RouteService routeService) protected void
shutdownRouteService
(RouteService routeService, org.apache.camel.LoggingLevel loggingLevel) void
start()
void
void
startRoute
(String routeId) void
void
startRouteService
(RouteService routeService, boolean addingRoutes) Starts the given route servicevoid
stop()
void
void
void
boolean
stopRoute
(String routeId, long timeout, TimeUnit timeUnit, boolean abortAfterTimeout, org.apache.camel.LoggingLevel loggingLevel) void
protected void
stopRouteService
(RouteService routeService, boolean removingRoutes, org.apache.camel.LoggingLevel loggingLevel) protected void
stopRouteService
(RouteService routeService, org.apache.camel.LoggingLevel loggingLevel) void
suspendRoute
(String routeId) void
suspendRoute
(String routeId, long timeout, TimeUnit timeUnit) protected void
suspendRouteService
(RouteService routeService) toString()
Methods inherited from class org.apache.camel.support.service.BaseService
build, doShutdown, fail, getStatus, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, suspend
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.camel.CamelContext
addRouteFromTemplate, addRouteFromTemplate, addRouteFromTemplate, removeRouteTemplates
Methods 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 theCamelContext
usingDefaultRegistry
as registry. Use one of the other constructors to force use an explicit registry. -
AbstractCamelContext
protected AbstractCamelContext(org.apache.camel.spi.Registry registry) Creates theCamelContext
using 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceorg.apache.camel.CamelContextLifecycle
- Throws:
IOException
-
getCamelContextReference
public org.apache.camel.CamelContext getCamelContextReference() -
eagerCreateTypeConverter
protected boolean eagerCreateTypeConverter()Whether to eager createTypeConverter
during initialization of CamelContext. This is enabled by default to optimize camel-core. -
isVetoStarted
public boolean isVetoStarted()- Specified by:
isVetoStarted
in interfaceorg.apache.camel.CamelContext
-
getNameStrategy
public org.apache.camel.spi.CamelContextNameStrategy getNameStrategy()- Specified by:
getNameStrategy
in interfaceorg.apache.camel.CamelContext
-
setNameStrategy
public void setNameStrategy(org.apache.camel.spi.CamelContextNameStrategy nameStrategy) - Specified by:
setNameStrategy
in interfaceorg.apache.camel.CamelContext
-
getManagementNameStrategy
public org.apache.camel.spi.ManagementNameStrategy getManagementNameStrategy()- Specified by:
getManagementNameStrategy
in interfaceorg.apache.camel.CamelContext
-
setManagementNameStrategy
public void setManagementNameStrategy(org.apache.camel.spi.ManagementNameStrategy managementNameStrategy) - Specified by:
setManagementNameStrategy
in interfaceorg.apache.camel.CamelContext
-
getManagementName
- Specified by:
getManagementName
in interfaceorg.apache.camel.CamelContext
-
setManagementName
- Specified by:
setManagementName
in interfaceorg.apache.camel.CamelContext
-
hasComponent
- Specified by:
hasComponent
in interfaceorg.apache.camel.CamelContext
-
addComponent
- Specified by:
addComponent
in interfaceorg.apache.camel.CamelContext
-
getComponent
- Specified by:
getComponent
in interfaceorg.apache.camel.CamelContext
-
getComponent
- Specified by:
getComponent
in interfaceorg.apache.camel.CamelContext
-
getComponent
public org.apache.camel.Component getComponent(String name, boolean autoCreateComponents, boolean autoStart) - Specified by:
getComponent
in interfaceorg.apache.camel.CamelContext
-
getComponent
- Specified by:
getComponent
in interfaceorg.apache.camel.CamelContext
-
removeComponent
- Specified by:
removeComponent
in interfaceorg.apache.camel.CamelContext
-
getEndpointRegistry
public org.apache.camel.spi.EndpointRegistry<org.apache.camel.support.NormalizedUri> getEndpointRegistry()- Specified by:
getEndpointRegistry
in interfaceorg.apache.camel.CamelContext
-
getEndpoints
- Specified by:
getEndpoints
in interfaceorg.apache.camel.CamelContext
-
hasEndpoint
- Specified by:
hasEndpoint
in interfaceorg.apache.camel.CamelContext
-
addEndpoint
public org.apache.camel.Endpoint addEndpoint(String uri, org.apache.camel.Endpoint endpoint) throws Exception - Specified by:
addEndpoint
in interfaceorg.apache.camel.CamelContext
- Throws:
Exception
-
removeEndpoint
public void removeEndpoint(org.apache.camel.Endpoint endpoint) - Specified by:
removeEndpoint
in interfaceorg.apache.camel.CamelContext
-
removeEndpoints
- Specified by:
removeEndpoints
in interfaceorg.apache.camel.CamelContext
-
getEndpoint
- Specified by:
getEndpoint
in interfaceorg.apache.camel.CamelContext
-
getEndpoint
- Specified by:
getEndpoint
in interfaceorg.apache.camel.CamelContext
-
doGetEndpoint
-
getEndpoint
- Specified by:
getEndpoint
in 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:
getGlobalEndpointConfiguration
in interfaceorg.apache.camel.CamelContext
-
getRouteController
public org.apache.camel.spi.RouteController getRouteController()- Specified by:
getRouteController
in interfaceorg.apache.camel.CamelContext
-
setRouteController
public void setRouteController(org.apache.camel.spi.RouteController routeController) - Specified by:
setRouteController
in interfaceorg.apache.camel.CamelContext
-
getRoutes
- Specified by:
getRoutes
in interfaceorg.apache.camel.CamelContext
-
getRoutesSize
public int getRoutesSize()- Specified by:
getRoutesSize
in interfaceorg.apache.camel.CamelContext
-
getRoute
- Specified by:
getRoute
in interfaceorg.apache.camel.CamelContext
-
getProcessor
- Specified by:
getProcessor
in interfaceorg.apache.camel.CamelContext
-
getProcessor
- Specified by:
getProcessor
in interfaceorg.apache.camel.CamelContext
-
addRoutes
- Specified by:
addRoutes
in interfaceorg.apache.camel.CamelContext
- Throws:
Exception
-
addTemplatedRoutes
- Specified by:
addTemplatedRoutes
in interfaceorg.apache.camel.CamelContext
- Throws:
Exception
-
addRoutesConfigurations
public void addRoutesConfigurations(org.apache.camel.RouteConfigurationsBuilder builder) throws Exception - Specified by:
addRoutesConfigurations
in 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
-
resumeRoute
- 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:
removeRoute
in 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:
addService
in interfaceorg.apache.camel.CamelContext
- Throws:
Exception
-
addService
- Specified by:
addService
in interfaceorg.apache.camel.CamelContext
- Throws:
Exception
-
addService
- Specified by:
addService
in interfaceorg.apache.camel.CamelContext
- Throws:
Exception
-
addPrototypeService
- Specified by:
addPrototypeService
in interfaceorg.apache.camel.CamelContext
-
removeService
- Specified by:
removeService
in interfaceorg.apache.camel.CamelContext
- Throws:
Exception
-
hasService
- Specified by:
hasService
in interfaceorg.apache.camel.CamelContext
-
hasService
- Specified by:
hasService
in interfaceorg.apache.camel.CamelContext
-
hasServices
- Specified by:
hasServices
in interfaceorg.apache.camel.CamelContext
-
hasService
- Specified by:
hasService
in interfaceorg.apache.camel.CamelContext
-
deferStartService
- Specified by:
deferStartService
in interfaceorg.apache.camel.CamelContext
-
getStartupListeners
-
addStartupListener
- Specified by:
addStartupListener
in interfaceorg.apache.camel.CamelContext
- Throws:
Exception
-
getComponentParameterJsonSchema
- Specified by:
getComponentParameterJsonSchema
in interfaceorg.apache.camel.CatalogCamelContext
- Throws:
IOException
-
getDataFormatParameterJsonSchema
- Specified by:
getDataFormatParameterJsonSchema
in interfaceorg.apache.camel.CatalogCamelContext
- Throws:
IOException
-
getLanguageParameterJsonSchema
- Specified by:
getLanguageParameterJsonSchema
in interfaceorg.apache.camel.CatalogCamelContext
- Throws:
IOException
-
getTransformerParameterJsonSchema
- Specified by:
getTransformerParameterJsonSchema
in interfaceorg.apache.camel.CatalogCamelContext
- Throws:
IOException
-
getDevConsoleParameterJsonSchema
- Specified by:
getDevConsoleParameterJsonSchema
in interfaceorg.apache.camel.CatalogCamelContext
- Throws:
IOException
-
getPojoBeanParameterJsonSchema
- Specified by:
getPojoBeanParameterJsonSchema
in interfaceorg.apache.camel.CatalogCamelContext
- Throws:
IOException
-
getEipParameterJsonSchema
- Specified by:
getEipParameterJsonSchema
in interfaceorg.apache.camel.CatalogCamelContext
- Throws:
IOException
-
resolveLanguage
- Specified by:
resolveLanguage
in interfaceorg.apache.camel.CamelContext
-
resolvePropertyPlaceholders
- Specified by:
resolvePropertyPlaceholders
in interfaceorg.apache.camel.CamelContext
-
getVariable
- Specified by:
getVariable
in interfaceorg.apache.camel.CamelContext
-
getVariable
- Specified by:
getVariable
in interfaceorg.apache.camel.CamelContext
-
setVariable
- Specified by:
setVariable
in interfaceorg.apache.camel.CamelContext
-
getTypeConverter
public org.apache.camel.TypeConverter getTypeConverter()- Specified by:
getTypeConverter
in interfaceorg.apache.camel.CamelContext
-
getTypeConverterRegistry
public org.apache.camel.spi.TypeConverterRegistry getTypeConverterRegistry()- Specified by:
getTypeConverterRegistry
in interfaceorg.apache.camel.CamelContext
-
setTypeConverterRegistry
public void setTypeConverterRegistry(org.apache.camel.spi.TypeConverterRegistry typeConverterRegistry) - Specified by:
setTypeConverterRegistry
in interfaceorg.apache.camel.CamelContext
-
getInjector
public org.apache.camel.spi.Injector getInjector()- Specified by:
getInjector
in interfaceorg.apache.camel.CamelContext
-
setInjector
public void setInjector(org.apache.camel.spi.Injector injector) - Specified by:
setInjector
in interfaceorg.apache.camel.CamelContext
-
getPropertiesComponent
public org.apache.camel.spi.PropertiesComponent getPropertiesComponent()- Specified by:
getPropertiesComponent
in interfaceorg.apache.camel.CamelContext
-
setPropertiesComponent
public void setPropertiesComponent(org.apache.camel.spi.PropertiesComponent propertiesComponent) - Specified by:
setPropertiesComponent
in interfaceorg.apache.camel.CamelContext
-
setAutoCreateComponents
public void setAutoCreateComponents(boolean autoCreateComponents) -
getRegistry
- Specified by:
getRegistry
in interfaceorg.apache.camel.CamelContext
-
getLifecycleStrategies
- Specified by:
getLifecycleStrategies
in interfaceorg.apache.camel.CamelContext
-
addLifecycleStrategy
public void addLifecycleStrategy(org.apache.camel.spi.LifecycleStrategy lifecycleStrategy) - Specified by:
addLifecycleStrategy
in interfaceorg.apache.camel.CamelContext
-
getRestConfiguration
public org.apache.camel.spi.RestConfiguration getRestConfiguration()- Specified by:
getRestConfiguration
in interfaceorg.apache.camel.CamelContext
-
setRestConfiguration
public void setRestConfiguration(org.apache.camel.spi.RestConfiguration restConfiguration) - Specified by:
setRestConfiguration
in interfaceorg.apache.camel.CamelContext
-
getVaultConfiguration
public org.apache.camel.vault.VaultConfiguration getVaultConfiguration()- Specified by:
getVaultConfiguration
in interfaceorg.apache.camel.CamelContext
-
setVaultConfiguration
public void setVaultConfiguration(org.apache.camel.vault.VaultConfiguration vaultConfiguration) - Specified by:
setVaultConfiguration
in interfaceorg.apache.camel.CamelContext
-
getRoutePolicyFactories
- Specified by:
getRoutePolicyFactories
in interfaceorg.apache.camel.CamelContext
-
addRoutePolicyFactory
public void addRoutePolicyFactory(org.apache.camel.spi.RoutePolicyFactory routePolicyFactory) - Specified by:
addRoutePolicyFactory
in interfaceorg.apache.camel.CamelContext
-
setStreamCaching
- Specified by:
setStreamCaching
in interfaceorg.apache.camel.RuntimeConfiguration
-
isStreamCaching
- Specified by:
isStreamCaching
in interfaceorg.apache.camel.RuntimeConfiguration
-
setTracing
- Specified by:
setTracing
in interfaceorg.apache.camel.RuntimeConfiguration
-
isTracing
- Specified by:
isTracing
in interfaceorg.apache.camel.RuntimeConfiguration
-
getTracingPattern
- Specified by:
getTracingPattern
in interfaceorg.apache.camel.RuntimeConfiguration
-
setTracingPattern
- Specified by:
setTracingPattern
in interfaceorg.apache.camel.RuntimeConfiguration
-
getTracingLoggingFormat
- Specified by:
getTracingLoggingFormat
in interfaceorg.apache.camel.CamelContext
-
setTracingLoggingFormat
- Specified by:
setTracingLoggingFormat
in interfaceorg.apache.camel.CamelContext
-
isBacklogTracing
- Specified by:
isBacklogTracing
in interfaceorg.apache.camel.RuntimeConfiguration
-
setBacklogTracing
- Specified by:
setBacklogTracing
in interfaceorg.apache.camel.RuntimeConfiguration
-
setDebugging
- Specified by:
setDebugging
in interfaceorg.apache.camel.RuntimeConfiguration
-
isDebugging
- Specified by:
isDebugging
in interfaceorg.apache.camel.RuntimeConfiguration
-
setDebugStandby
public void setDebugStandby(boolean debugStandby) - Specified by:
setDebugStandby
in interfaceorg.apache.camel.CamelContext
-
isDebugStandby
public boolean isDebugStandby()- Specified by:
isDebugStandby
in interfaceorg.apache.camel.CamelContext
-
setDebuggingBreakpoints
-
getDebuggingBreakpoints
-
setMessageHistory
- Specified by:
setMessageHistory
in interfaceorg.apache.camel.RuntimeConfiguration
-
isMessageHistory
- Specified by:
isMessageHistory
in interfaceorg.apache.camel.RuntimeConfiguration
-
setLogMask
- Specified by:
setLogMask
in interfaceorg.apache.camel.RuntimeConfiguration
-
isLogMask
- Specified by:
isLogMask
in interfaceorg.apache.camel.RuntimeConfiguration
-
isLogExhaustedMessageBody
- Specified by:
isLogExhaustedMessageBody
in interfaceorg.apache.camel.RuntimeConfiguration
-
setLogExhaustedMessageBody
- Specified by:
setLogExhaustedMessageBody
in interfaceorg.apache.camel.RuntimeConfiguration
-
getDelayer
- Specified by:
getDelayer
in interfaceorg.apache.camel.RuntimeConfiguration
-
setDelayer
- Specified by:
setDelayer
in interfaceorg.apache.camel.RuntimeConfiguration
-
createProducerTemplate
public org.apache.camel.ProducerTemplate createProducerTemplate()- Specified by:
createProducerTemplate
in interfaceorg.apache.camel.CamelContext
-
createProducerTemplate
public org.apache.camel.ProducerTemplate createProducerTemplate(int maximumCacheSize) - Specified by:
createProducerTemplate
in interfaceorg.apache.camel.CamelContext
-
createFluentProducerTemplate
public org.apache.camel.FluentProducerTemplate createFluentProducerTemplate()- Specified by:
createFluentProducerTemplate
in interfaceorg.apache.camel.CamelContext
-
createFluentProducerTemplate
public org.apache.camel.FluentProducerTemplate createFluentProducerTemplate(int maximumCacheSize) - Specified by:
createFluentProducerTemplate
in interfaceorg.apache.camel.CamelContext
-
createConsumerTemplate
public org.apache.camel.ConsumerTemplate createConsumerTemplate()- Specified by:
createConsumerTemplate
in interfaceorg.apache.camel.CamelContext
-
createConsumerTemplate
public org.apache.camel.ConsumerTemplate createConsumerTemplate(int maximumCacheSize) - Specified by:
createConsumerTemplate
in interfaceorg.apache.camel.CamelContext
-
createErrorHandlerExecutorService
-
getRuntimeEndpointRegistry
public org.apache.camel.spi.RuntimeEndpointRegistry getRuntimeEndpointRegistry()- Specified by:
getRuntimeEndpointRegistry
in interfaceorg.apache.camel.CamelContext
-
setRuntimeEndpointRegistry
public void setRuntimeEndpointRegistry(org.apache.camel.spi.RuntimeEndpointRegistry runtimeEndpointRegistry) - Specified by:
setRuntimeEndpointRegistry
in interfaceorg.apache.camel.CamelContext
-
getUptime
- Specified by:
getUptime
in interfaceorg.apache.camel.CamelContext
-
getVersion
- Specified by:
getVersion
in interfaceorg.apache.camel.CamelContext
-
getClock
public org.apache.camel.clock.EventClock<org.apache.camel.ContextEvents> getClock()- Specified by:
getClock
in interfaceorg.apache.camel.CamelContext
-
doSuspend
- Overrides:
doSuspend
in classorg.apache.camel.support.service.BaseService
- Throws:
Exception
-
doResume
- Overrides:
doResume
in classorg.apache.camel.support.service.BaseService
- Throws:
Exception
-
doLifecycleChange
- Overrides:
doLifecycleChange
in classorg.apache.camel.support.service.BaseService
-
init
public void init()- Specified by:
init
in interfaceorg.apache.camel.CamelContextLifecycle
- Overrides:
init
in classorg.apache.camel.support.service.BaseService
-
start
public void start()- Specified by:
start
in interfaceorg.apache.camel.CamelContextLifecycle
- Overrides:
start
in classorg.apache.camel.support.service.BaseService
-
stop
public void stop()- Specified by:
stop
in interfaceorg.apache.camel.CamelContextLifecycle
- Overrides:
stop
in classorg.apache.camel.support.service.BaseService
-
doBuild
- Overrides:
doBuild
in classorg.apache.camel.support.service.BaseService
- Throws:
Exception
-
resetBuildTime
protected void resetBuildTime()Internal API to reset build time. Used by quarkus. -
doInit
- Overrides:
doInit
in classorg.apache.camel.support.service.BaseService
- Throws:
Exception
-
doStart
- Overrides:
doStart
in classorg.apache.camel.support.service.BaseService
- Throws:
Exception
-
doStartContext
- Throws:
Exception
-
logDuplicateComponents
protected void logDuplicateComponents() -
logStartSummary
protected void logStartSummary() -
doStartCamel
- Throws:
Exception
-
doStop
- Overrides:
doStop
in classorg.apache.camel.support.service.BaseService
- Throws:
Exception
-
doFail
- Overrides:
doFail
in classorg.apache.camel.support.service.BaseService
-
doDumpRoutes
protected void doDumpRoutes() -
logRouteStopSummary
protected void logRouteStopSummary(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 aRegistry
to 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:
getGlobalOptions
in interfaceorg.apache.camel.CamelContext
-
setGlobalOptions
- Specified by:
setGlobalOptions
in interfaceorg.apache.camel.CamelContext
-
createBootstrapFactoryFinder
-
createFactoryFinder
-
getClassResolver
public org.apache.camel.spi.ClassResolver getClassResolver()- Specified by:
getClassResolver
in interfaceorg.apache.camel.CamelContext
-
setClassResolver
public void setClassResolver(org.apache.camel.spi.ClassResolver classResolver) - Specified by:
setClassResolver
in interfaceorg.apache.camel.CamelContext
-
getComponentNames
- Specified by:
getComponentNames
in interfaceorg.apache.camel.CamelContext
-
getLanguageNames
- Specified by:
getLanguageNames
in interfaceorg.apache.camel.CamelContext
-
getManagementStrategy
public org.apache.camel.spi.ManagementStrategy getManagementStrategy()- Specified by:
getManagementStrategy
in interfaceorg.apache.camel.CamelContext
-
setManagementStrategy
public void setManagementStrategy(org.apache.camel.spi.ManagementStrategy managementStrategy) - Specified by:
setManagementStrategy
in interfaceorg.apache.camel.CamelContext
-
disableJMX
public void disableJMX()- Specified by:
disableJMX
in interfaceorg.apache.camel.CamelContext
-
isJMXDisabled
public boolean isJMXDisabled() -
getInflightRepository
public org.apache.camel.spi.InflightRepository getInflightRepository()- Specified by:
getInflightRepository
in interfaceorg.apache.camel.CamelContext
-
setInflightRepository
public void setInflightRepository(org.apache.camel.spi.InflightRepository repository) - Specified by:
setInflightRepository
in interfaceorg.apache.camel.CamelContext
-
setAutoStartup
- Specified by:
setAutoStartup
in interfaceorg.apache.camel.RuntimeConfiguration
-
isAutoStartup
- Specified by:
isAutoStartup
in interfaceorg.apache.camel.RuntimeConfiguration
-
isLoadTypeConverters
- Specified by:
isLoadTypeConverters
in interfaceorg.apache.camel.CamelContext
-
setLoadTypeConverters
- Specified by:
setLoadTypeConverters
in interfaceorg.apache.camel.CamelContext
-
isLoadHealthChecks
- Specified by:
isLoadHealthChecks
in interfaceorg.apache.camel.CamelContext
-
setLoadHealthChecks
- Specified by:
setLoadHealthChecks
in interfaceorg.apache.camel.CamelContext
-
isModeline
- Specified by:
isModeline
in interfaceorg.apache.camel.CamelContext
-
setModeline
- Specified by:
setModeline
in interfaceorg.apache.camel.CamelContext
-
isDevConsole
- Specified by:
isDevConsole
in interfaceorg.apache.camel.CamelContext
-
setDevConsole
- Specified by:
setDevConsole
in interfaceorg.apache.camel.CamelContext
-
isTypeConverterStatisticsEnabled
- Specified by:
isTypeConverterStatisticsEnabled
in interfaceorg.apache.camel.CamelContext
-
isSourceLocationEnabled
- Specified by:
isSourceLocationEnabled
in interfaceorg.apache.camel.CamelContext
-
setSourceLocationEnabled
- Specified by:
setSourceLocationEnabled
in interfaceorg.apache.camel.CamelContext
-
setTypeConverterStatisticsEnabled
- Specified by:
setTypeConverterStatisticsEnabled
in interfaceorg.apache.camel.CamelContext
-
getDumpRoutes
- Specified by:
getDumpRoutes
in interfaceorg.apache.camel.CamelContext
-
setDumpRoutes
- Specified by:
setDumpRoutes
in interfaceorg.apache.camel.CamelContext
-
isUseMDCLogging
- Specified by:
isUseMDCLogging
in interfaceorg.apache.camel.CamelContext
-
setUseMDCLogging
- Specified by:
setUseMDCLogging
in interfaceorg.apache.camel.CamelContext
-
getMDCLoggingKeysPattern
- Specified by:
getMDCLoggingKeysPattern
in interfaceorg.apache.camel.CamelContext
-
setMDCLoggingKeysPattern
- Specified by:
setMDCLoggingKeysPattern
in interfaceorg.apache.camel.CamelContext
-
isUseDataType
- Specified by:
isUseDataType
in interfaceorg.apache.camel.CamelContext
-
setUseDataType
- Specified by:
setUseDataType
in interfaceorg.apache.camel.CamelContext
-
isUseBreadcrumb
- Specified by:
isUseBreadcrumb
in interfaceorg.apache.camel.CamelContext
-
setUseBreadcrumb
- Specified by:
setUseBreadcrumb
in interfaceorg.apache.camel.CamelContext
-
getApplicationContextClassLoader
- Specified by:
getApplicationContextClassLoader
in interfaceorg.apache.camel.CamelContext
-
setApplicationContextClassLoader
- Specified by:
setApplicationContextClassLoader
in interfaceorg.apache.camel.CamelContext
-
resolveDataFormat
- Specified by:
resolveDataFormat
in interfaceorg.apache.camel.CamelContext
-
createDataFormat
- Specified by:
createDataFormat
in interfaceorg.apache.camel.CamelContext
-
getDataFormatNames
- Specified by:
getDataFormatNames
in interfaceorg.apache.camel.CamelContext
-
getShutdownStrategy
public org.apache.camel.spi.ShutdownStrategy getShutdownStrategy()- Specified by:
getShutdownStrategy
in interfaceorg.apache.camel.CamelContext
-
setShutdownStrategy
public void setShutdownStrategy(org.apache.camel.spi.ShutdownStrategy shutdownStrategy) - Specified by:
setShutdownStrategy
in interfaceorg.apache.camel.CamelContext
-
getShutdownRoute
public org.apache.camel.ShutdownRoute getShutdownRoute()- Specified by:
getShutdownRoute
in interfaceorg.apache.camel.RuntimeConfiguration
-
setShutdownRoute
public void setShutdownRoute(org.apache.camel.ShutdownRoute shutdownRoute) - Specified by:
setShutdownRoute
in interfaceorg.apache.camel.RuntimeConfiguration
-
getShutdownRunningTask
public org.apache.camel.ShutdownRunningTask getShutdownRunningTask()- Specified by:
getShutdownRunningTask
in interfaceorg.apache.camel.RuntimeConfiguration
-
setShutdownRunningTask
public void setShutdownRunningTask(org.apache.camel.ShutdownRunningTask shutdownRunningTask) - Specified by:
setShutdownRunningTask
in interfaceorg.apache.camel.RuntimeConfiguration
-
setAllowUseOriginalMessage
- Specified by:
setAllowUseOriginalMessage
in interfaceorg.apache.camel.RuntimeConfiguration
-
isAllowUseOriginalMessage
- Specified by:
isAllowUseOriginalMessage
in interfaceorg.apache.camel.RuntimeConfiguration
-
isCaseInsensitiveHeaders
- Specified by:
isCaseInsensitiveHeaders
in interfaceorg.apache.camel.RuntimeConfiguration
-
setCaseInsensitiveHeaders
- Specified by:
setCaseInsensitiveHeaders
in interfaceorg.apache.camel.RuntimeConfiguration
-
isAutowiredEnabled
- Specified by:
isAutowiredEnabled
in interfaceorg.apache.camel.RuntimeConfiguration
-
setAutowiredEnabled
- Specified by:
setAutowiredEnabled
in interfaceorg.apache.camel.RuntimeConfiguration
-
getExecutorServiceManager
public org.apache.camel.spi.ExecutorServiceManager getExecutorServiceManager()- Specified by:
getExecutorServiceManager
in interfaceorg.apache.camel.CamelContext
-
setExecutorServiceManager
public void setExecutorServiceManager(org.apache.camel.spi.ExecutorServiceManager executorServiceManager) - Specified by:
setExecutorServiceManager
in interfaceorg.apache.camel.CamelContext
-
getMessageHistoryFactory
public org.apache.camel.spi.MessageHistoryFactory getMessageHistoryFactory()- Specified by:
getMessageHistoryFactory
in interfaceorg.apache.camel.CamelContext
-
setMessageHistoryFactory
public void setMessageHistoryFactory(org.apache.camel.spi.MessageHistoryFactory messageHistoryFactory) - Specified by:
setMessageHistoryFactory
in interfaceorg.apache.camel.CamelContext
-
getDebugger
public org.apache.camel.spi.Debugger getDebugger()- Specified by:
getDebugger
in interfaceorg.apache.camel.CamelContext
-
setDebugger
public void setDebugger(org.apache.camel.spi.Debugger debugger) - Specified by:
setDebugger
in interfaceorg.apache.camel.CamelContext
-
getTracer
public org.apache.camel.spi.Tracer getTracer()- Specified by:
getTracer
in interfaceorg.apache.camel.CamelContext
-
setTracer
public void setTracer(org.apache.camel.spi.Tracer tracer) - Specified by:
setTracer
in interfaceorg.apache.camel.CamelContext
-
setTracingStandby
public void setTracingStandby(boolean tracingStandby) - Specified by:
setTracingStandby
in interfaceorg.apache.camel.CamelContext
-
isTracingStandby
public boolean isTracingStandby()- Specified by:
isTracingStandby
in interfaceorg.apache.camel.CamelContext
-
setTracingTemplates
public void setTracingTemplates(boolean tracingTemplates) - Specified by:
setTracingTemplates
in interfaceorg.apache.camel.CamelContext
-
isTracingTemplates
public boolean isTracingTemplates()- Specified by:
isTracingTemplates
in interfaceorg.apache.camel.CamelContext
-
setBacklogTracingTemplates
public void setBacklogTracingTemplates(boolean backlogTracingTemplates) - Specified by:
setBacklogTracingTemplates
in interfaceorg.apache.camel.CamelContext
-
isBacklogTracingTemplates
public boolean isBacklogTracingTemplates()- Specified by:
isBacklogTracingTemplates
in interfaceorg.apache.camel.CamelContext
-
setBacklogTracingStandby
public void setBacklogTracingStandby(boolean backlogTracingStandby) - Specified by:
setBacklogTracingStandby
in interfaceorg.apache.camel.CamelContext
-
isBacklogTracingStandby
public boolean isBacklogTracingStandby()- Specified by:
isBacklogTracingStandby
in interfaceorg.apache.camel.CamelContext
-
getUuidGenerator
public org.apache.camel.spi.UuidGenerator getUuidGenerator()- Specified by:
getUuidGenerator
in interfaceorg.apache.camel.CamelContext
-
setUuidGenerator
public void setUuidGenerator(org.apache.camel.spi.UuidGenerator uuidGenerator) - Specified by:
setUuidGenerator
in interfaceorg.apache.camel.CamelContext
-
getStreamCachingStrategy
public org.apache.camel.spi.StreamCachingStrategy getStreamCachingStrategy()- Specified by:
getStreamCachingStrategy
in interfaceorg.apache.camel.CamelContext
-
setStreamCachingStrategy
public void setStreamCachingStrategy(org.apache.camel.spi.StreamCachingStrategy streamCachingStrategy) - Specified by:
setStreamCachingStrategy
in interfaceorg.apache.camel.CamelContext
-
getRestRegistry
public org.apache.camel.spi.RestRegistry getRestRegistry()- Specified by:
getRestRegistry
in interfaceorg.apache.camel.CamelContext
-
setRestRegistry
public void setRestRegistry(org.apache.camel.spi.RestRegistry restRegistry) - Specified by:
setRestRegistry
in interfaceorg.apache.camel.CamelContext
-
createRestRegistry
protected org.apache.camel.spi.RestRegistry createRestRegistry() -
getGlobalOption
- Specified by:
getGlobalOption
in interfaceorg.apache.camel.CamelContext
-
resolveTransformer
- Specified by:
resolveTransformer
in 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:
resolveTransformer
in interfaceorg.apache.camel.CamelContext
-
getTransformerRegistry
public org.apache.camel.spi.TransformerRegistry getTransformerRegistry()- Specified by:
getTransformerRegistry
in interfaceorg.apache.camel.CamelContext
-
resolveValidator
public org.apache.camel.spi.Validator resolveValidator(org.apache.camel.spi.DataType type) - Specified by:
resolveValidator
in interfaceorg.apache.camel.CamelContext
-
getValidatorRegistry
public org.apache.camel.spi.ValidatorRegistry getValidatorRegistry()- Specified by:
getValidatorRegistry
in interfaceorg.apache.camel.CamelContext
-
getSSLContextParameters
public org.apache.camel.support.jsse.SSLContextParameters getSSLContextParameters()- Specified by:
getSSLContextParameters
in interfaceorg.apache.camel.CamelContext
-
setSSLContextParameters
public void setSSLContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) - Specified by:
setSSLContextParameters
in interfaceorg.apache.camel.CamelContext
-
getStartupSummaryLevel
public org.apache.camel.StartupSummaryLevel getStartupSummaryLevel()- Specified by:
getStartupSummaryLevel
in interfaceorg.apache.camel.CamelContext
-
setStartupSummaryLevel
public void setStartupSummaryLevel(org.apache.camel.StartupSummaryLevel startupSummaryLevel) - Specified by:
setStartupSummaryLevel
in 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<org.apache.camel.support.NormalizedUri> createEndpointRegistry(Map<org.apache.camel.support.NormalizedUri, org.apache.camel.Endpoint> endpoints) -
createTransformerRegistry
protected abstract org.apache.camel.spi.TransformerRegistry<TransformerKey> createTransformerRegistry() -
createValidatorRegistry
-
createVariableRepositoryFactory
protected abstract org.apache.camel.spi.VariableRepositoryFactory createVariableRepositoryFactory() -
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
public abstract void disposeModel() -
getTestExcludeRoutes
-
getCamelContextExtension
public org.apache.camel.ExtendedCamelContext getCamelContextExtension()- Specified by:
getCamelContextExtension
in interfaceorg.apache.camel.CamelContext
-
getName
- Specified by:
getName
in interfaceorg.apache.camel.CamelContext
-
getDescription
- Specified by:
getDescription
in interfaceorg.apache.camel.CamelContext
-
addRoute
public void addRoute(org.apache.camel.Route route) -
removeRoute
public void removeRoute(org.apache.camel.Route route) -
getRegistry
public org.apache.camel.spi.Registry getRegistry()- Specified by:
getRegistry
in interfaceorg.apache.camel.CamelContext
-