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.
  • Constructor Details

    • AbstractCamelContext

      protected AbstractCamelContext()
      Creates the CamelContext using DefaultRegistry as registry.

      Use one of the other constructors to force use an explicit registry.

    • AbstractCamelContext

      protected AbstractCamelContext(org.apache.camel.spi.Registry registry)
      Creates the CamelContext 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

      protected static <T> T lookup(org.apache.camel.CamelContext context, String ref, Class<T> type)
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.apache.camel.CamelContextLifecycle
      Throws:
      IOException
    • getCamelContextReference

      public org.apache.camel.CamelContext getCamelContextReference()
    • eagerCreateTypeConverter

      protected boolean eagerCreateTypeConverter()
      Whether to eager create TypeConverter during initialization of CamelContext. This is enabled by default to optimize camel-core.
    • isVetoStarted

      public boolean isVetoStarted()
      Specified by:
      isVetoStarted in interface org.apache.camel.CamelContext
    • getNameStrategy

      public org.apache.camel.spi.CamelContextNameStrategy getNameStrategy()
      Specified by:
      getNameStrategy in interface org.apache.camel.CamelContext
    • setNameStrategy

      public void setNameStrategy(org.apache.camel.spi.CamelContextNameStrategy nameStrategy)
      Specified by:
      setNameStrategy in interface org.apache.camel.CamelContext
    • getManagementNameStrategy

      public org.apache.camel.spi.ManagementNameStrategy getManagementNameStrategy()
      Specified by:
      getManagementNameStrategy in interface org.apache.camel.CamelContext
    • setManagementNameStrategy

      public void setManagementNameStrategy(org.apache.camel.spi.ManagementNameStrategy managementNameStrategy)
      Specified by:
      setManagementNameStrategy in interface org.apache.camel.CamelContext
    • getManagementName

      public String getManagementName()
      Specified by:
      getManagementName in interface org.apache.camel.CamelContext
    • setManagementName

      public void setManagementName(String managementName)
      Specified by:
      setManagementName in interface org.apache.camel.CamelContext
    • hasComponent

      public org.apache.camel.Component hasComponent(String componentName)
      Specified by:
      hasComponent in interface org.apache.camel.CamelContext
    • addComponent

      public void addComponent(String componentName, org.apache.camel.Component component)
      Specified by:
      addComponent in interface org.apache.camel.CamelContext
    • getComponent

      public org.apache.camel.Component getComponent(String name)
      Specified by:
      getComponent in interface org.apache.camel.CamelContext
    • getComponent

      public org.apache.camel.Component getComponent(String name, boolean autoCreateComponents)
      Specified by:
      getComponent in interface org.apache.camel.CamelContext
    • getComponent

      public org.apache.camel.Component getComponent(String name, boolean autoCreateComponents, boolean autoStart)
      Specified by:
      getComponent in interface org.apache.camel.CamelContext
    • getComponent

      public <T extends org.apache.camel.Component> T getComponent(String name, Class<T> componentType)
      Specified by:
      getComponent in interface org.apache.camel.CamelContext
    • removeComponent

      public org.apache.camel.Component removeComponent(String componentName)
      Specified by:
      removeComponent in interface org.apache.camel.CamelContext
    • getEndpointRegistry

      public org.apache.camel.spi.EndpointRegistry<org.apache.camel.support.NormalizedUri> getEndpointRegistry()
      Specified by:
      getEndpointRegistry in interface org.apache.camel.CamelContext
    • getEndpoints

      public Collection<org.apache.camel.Endpoint> getEndpoints()
      Specified by:
      getEndpoints in interface org.apache.camel.CamelContext
    • hasEndpoint

      public org.apache.camel.Endpoint hasEndpoint(String uri)
      Specified by:
      hasEndpoint in interface org.apache.camel.CamelContext
    • addEndpoint

      public org.apache.camel.Endpoint addEndpoint(String uri, org.apache.camel.Endpoint endpoint) throws Exception
      Specified by:
      addEndpoint in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • removeEndpoint

      public void removeEndpoint(org.apache.camel.Endpoint endpoint)
      Specified by:
      removeEndpoint in interface org.apache.camel.CamelContext
    • removeEndpoints

      public Collection<org.apache.camel.Endpoint> removeEndpoints(String uri)
      Specified by:
      removeEndpoints in interface org.apache.camel.CamelContext
    • getEndpoint

      public org.apache.camel.Endpoint getEndpoint(String uri)
      Specified by:
      getEndpoint in interface org.apache.camel.CamelContext
    • getEndpoint

      public org.apache.camel.Endpoint getEndpoint(String uri, Map<String,Object> parameters)
      Specified by:
      getEndpoint in interface org.apache.camel.CamelContext
    • doGetEndpoint

      protected org.apache.camel.Endpoint doGetEndpoint(String uri, Map<String,Object> parameters, boolean normalized, boolean prototype)
    • getEndpoint

      public <T extends org.apache.camel.Endpoint> T getEndpoint(String name, Class<T> endpointType)
      Specified by:
      getEndpoint in interface org.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 endpoint
      endpoint - the endpoint to add
      Returns:
      the added endpoint
    • getEndpointKey

      protected org.apache.camel.support.NormalizedUri getEndpointKey(String uri)
      Gets the endpoint key to use for lookup or whe adding endpoints to the DefaultEndpointRegistry
      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 the DefaultEndpointRegistry
      Parameters:
      uri - the endpoint uri
      endpoint - the endpoint
      Returns:
      the key
    • getGlobalEndpointConfiguration

      public org.apache.camel.GlobalEndpointConfiguration getGlobalEndpointConfiguration()
      Specified by:
      getGlobalEndpointConfiguration in interface org.apache.camel.CamelContext
    • getRouteController

      public org.apache.camel.spi.RouteController getRouteController()
      Specified by:
      getRouteController in interface org.apache.camel.CamelContext
    • setRouteController

      public void setRouteController(org.apache.camel.spi.RouteController routeController)
      Specified by:
      setRouteController in interface org.apache.camel.CamelContext
    • getRoutes

      public List<org.apache.camel.Route> getRoutes()
      Specified by:
      getRoutes in interface org.apache.camel.CamelContext
    • getRoutesSize

      public int getRoutesSize()
      Specified by:
      getRoutesSize in interface org.apache.camel.CamelContext
    • getRoute

      public org.apache.camel.Route getRoute(String id)
      Specified by:
      getRoute in interface org.apache.camel.CamelContext
    • getProcessor

      public org.apache.camel.Processor getProcessor(String id)
      Specified by:
      getProcessor in interface org.apache.camel.CamelContext
    • getProcessor

      public <T extends org.apache.camel.Processor> T getProcessor(String id, Class<T> type)
      Specified by:
      getProcessor in interface org.apache.camel.CamelContext
    • addRoutes

      public void addRoutes(org.apache.camel.RoutesBuilder builder) throws Exception
      Specified by:
      addRoutes in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • addTemplatedRoutes

      public void addTemplatedRoutes(org.apache.camel.RoutesBuilder builder) throws Exception
      Specified by:
      addTemplatedRoutes in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • addRoutesConfigurations

      public void addRoutesConfigurations(org.apache.camel.RouteConfigurationsBuilder builder) throws Exception
      Specified by:
      addRoutesConfigurations in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • getRouteStatus

      public org.apache.camel.ServiceStatus getRouteStatus(String key)
    • isStartingRoutes

      public boolean isStartingRoutes()
    • setStartingRoutes

      public void setStartingRoutes(boolean starting)
    • isLockModel

      public boolean isLockModel()
    • setLockModel

      public void setLockModel(boolean lockModel)
    • startAllRoutes

      public void startAllRoutes() throws Exception
      Throws:
      Exception
    • stopAllRoutes

      public void stopAllRoutes() throws Exception
      Throws:
      Exception
    • removeAllRoutes

      public void removeAllRoutes() throws Exception
      Throws:
      Exception
    • startRoute

      public void startRoute(String routeId) throws Exception
      Throws:
      Exception
    • resumeRoute

      public void resumeRoute(String routeId) 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

      public void stopRoute(String routeId) throws Exception
      Throws:
      Exception
    • stopRoute

      public void stopRoute(String routeId, org.apache.camel.LoggingLevel loggingLevel) throws Exception
      Throws:
      Exception
    • stopRoute

      public void stopRoute(String routeId, long timeout, TimeUnit timeUnit) throws Exception
      Throws:
      Exception
    • doShutdownRoute

      protected void doShutdownRoute(String routeId, long timeout, TimeUnit timeUnit, boolean removingRoutes, org.apache.camel.LoggingLevel loggingLevel) throws Exception
      Throws:
      Exception
    • removeRoute

      public boolean removeRoute(String routeId) throws Exception
      Specified by:
      removeRoute in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • removeRoute

      protected boolean removeRoute(String routeId, org.apache.camel.LoggingLevel loggingLevel) throws Exception
      Throws:
      Exception
    • suspendRoute

      public void suspendRoute(String routeId) throws Exception
      Throws:
      Exception
    • suspendRoute

      public void suspendRoute(String routeId, long timeout, TimeUnit timeUnit) throws Exception
      Throws:
      Exception
    • addService

      public void addService(Object object) throws Exception
      Specified by:
      addService in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • addService

      public void addService(Object object, boolean stopOnShutdown) throws Exception
      Specified by:
      addService in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • addService

      public void addService(Object object, boolean stopOnShutdown, boolean forceStart) throws Exception
      Specified by:
      addService in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • addPrototypeService

      public void addPrototypeService(Object object)
      Specified by:
      addPrototypeService in interface org.apache.camel.CamelContext
    • removeService

      public boolean removeService(Object object) throws Exception
      Specified by:
      removeService in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • hasService

      public boolean hasService(Object object)
      Specified by:
      hasService in interface org.apache.camel.CamelContext
    • hasService

      public <T> T hasService(Class<T> type)
      Specified by:
      hasService in interface org.apache.camel.CamelContext
    • hasServices

      public <T> Set<T> hasServices(Class<T> type)
      Specified by:
      hasServices in interface org.apache.camel.CamelContext
    • hasService

      public org.apache.camel.Service hasService(Predicate<org.apache.camel.Service> filter)
      Specified by:
      hasService in interface org.apache.camel.CamelContext
    • deferStartService

      public void deferStartService(Object object, boolean stopOnShutdown)
      Specified by:
      deferStartService in interface org.apache.camel.CamelContext
    • getStartupListeners

      protected List<org.apache.camel.StartupListener> getStartupListeners()
    • addStartupListener

      public void addStartupListener(org.apache.camel.StartupListener listener) throws Exception
      Specified by:
      addStartupListener in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • getComponentParameterJsonSchema

      public String getComponentParameterJsonSchema(String componentName) throws IOException
      Specified by:
      getComponentParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • getDataFormatParameterJsonSchema

      public String getDataFormatParameterJsonSchema(String dataFormatName) throws IOException
      Specified by:
      getDataFormatParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • getLanguageParameterJsonSchema

      public String getLanguageParameterJsonSchema(String languageName) throws IOException
      Specified by:
      getLanguageParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • getTransformerParameterJsonSchema

      public String getTransformerParameterJsonSchema(String transformerName) throws IOException
      Specified by:
      getTransformerParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • getDevConsoleParameterJsonSchema

      public String getDevConsoleParameterJsonSchema(String devConsoleName) throws IOException
      Specified by:
      getDevConsoleParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • getPojoBeanParameterJsonSchema

      public String getPojoBeanParameterJsonSchema(String beanName) throws IOException
      Specified by:
      getPojoBeanParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • getEipParameterJsonSchema

      public String getEipParameterJsonSchema(String eipName) throws IOException
      Specified by:
      getEipParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • resolveLanguage

      public org.apache.camel.spi.Language resolveLanguage(String name)
      Specified by:
      resolveLanguage in interface org.apache.camel.CamelContext
    • resolvePropertyPlaceholders

      public String resolvePropertyPlaceholders(String text)
      Specified by:
      resolvePropertyPlaceholders in interface org.apache.camel.CamelContext
    • getVariable

      public Object getVariable(String name)
      Specified by:
      getVariable in interface org.apache.camel.CamelContext
    • getVariable

      public <T> T getVariable(String name, Class<T> type)
      Specified by:
      getVariable in interface org.apache.camel.CamelContext
    • setVariable

      public void setVariable(String name, Object value)
      Specified by:
      setVariable in interface org.apache.camel.CamelContext
    • getTypeConverter

      public org.apache.camel.TypeConverter getTypeConverter()
      Specified by:
      getTypeConverter in interface org.apache.camel.CamelContext
    • getTypeConverterRegistry

      public org.apache.camel.spi.TypeConverterRegistry getTypeConverterRegistry()
      Specified by:
      getTypeConverterRegistry in interface org.apache.camel.CamelContext
    • setTypeConverterRegistry

      public void setTypeConverterRegistry(org.apache.camel.spi.TypeConverterRegistry typeConverterRegistry)
      Specified by:
      setTypeConverterRegistry in interface org.apache.camel.CamelContext
    • getInjector

      public org.apache.camel.spi.Injector getInjector()
      Specified by:
      getInjector in interface org.apache.camel.CamelContext
    • setInjector

      public void setInjector(org.apache.camel.spi.Injector injector)
      Specified by:
      setInjector in interface org.apache.camel.CamelContext
    • getPropertiesComponent

      public org.apache.camel.spi.PropertiesComponent getPropertiesComponent()
      Specified by:
      getPropertiesComponent in interface org.apache.camel.CamelContext
    • setPropertiesComponent

      public void setPropertiesComponent(org.apache.camel.spi.PropertiesComponent propertiesComponent)
      Specified by:
      setPropertiesComponent in interface org.apache.camel.CamelContext
    • setAutoCreateComponents

      public void setAutoCreateComponents(boolean autoCreateComponents)
    • getRegistry

      public <T> T getRegistry(Class<T> type)
      Specified by:
      getRegistry in interface org.apache.camel.CamelContext
    • getLifecycleStrategies

      public List<org.apache.camel.spi.LifecycleStrategy> getLifecycleStrategies()
      Specified by:
      getLifecycleStrategies in interface org.apache.camel.CamelContext
    • addLifecycleStrategy

      public void addLifecycleStrategy(org.apache.camel.spi.LifecycleStrategy lifecycleStrategy)
      Specified by:
      addLifecycleStrategy in interface org.apache.camel.CamelContext
    • getRestConfiguration

      public org.apache.camel.spi.RestConfiguration getRestConfiguration()
      Specified by:
      getRestConfiguration in interface org.apache.camel.CamelContext
    • setRestConfiguration

      public void setRestConfiguration(org.apache.camel.spi.RestConfiguration restConfiguration)
      Specified by:
      setRestConfiguration in interface org.apache.camel.CamelContext
    • getVaultConfiguration

      public org.apache.camel.vault.VaultConfiguration getVaultConfiguration()
      Specified by:
      getVaultConfiguration in interface org.apache.camel.CamelContext
    • setVaultConfiguration

      public void setVaultConfiguration(org.apache.camel.vault.VaultConfiguration vaultConfiguration)
      Specified by:
      setVaultConfiguration in interface org.apache.camel.CamelContext
    • getRoutePolicyFactories

      public List<org.apache.camel.spi.RoutePolicyFactory> getRoutePolicyFactories()
      Specified by:
      getRoutePolicyFactories in interface org.apache.camel.CamelContext
    • addRoutePolicyFactory

      public void addRoutePolicyFactory(org.apache.camel.spi.RoutePolicyFactory routePolicyFactory)
      Specified by:
      addRoutePolicyFactory in interface org.apache.camel.CamelContext
    • setStreamCaching

      public void setStreamCaching(Boolean cache)
      Specified by:
      setStreamCaching in interface org.apache.camel.RuntimeConfiguration
    • isStreamCaching

      public Boolean isStreamCaching()
      Specified by:
      isStreamCaching in interface org.apache.camel.RuntimeConfiguration
    • setTracing

      public void setTracing(Boolean tracing)
      Specified by:
      setTracing in interface org.apache.camel.RuntimeConfiguration
    • isTracing

      public Boolean isTracing()
      Specified by:
      isTracing in interface org.apache.camel.RuntimeConfiguration
    • getTracingPattern

      public String getTracingPattern()
      Specified by:
      getTracingPattern in interface org.apache.camel.RuntimeConfiguration
    • setTracingPattern

      public void setTracingPattern(String tracePattern)
      Specified by:
      setTracingPattern in interface org.apache.camel.RuntimeConfiguration
    • getTracingLoggingFormat

      public String getTracingLoggingFormat()
      Specified by:
      getTracingLoggingFormat in interface org.apache.camel.CamelContext
    • setTracingLoggingFormat

      public void setTracingLoggingFormat(String format)
      Specified by:
      setTracingLoggingFormat in interface org.apache.camel.CamelContext
    • isBacklogTracing

      public Boolean isBacklogTracing()
      Specified by:
      isBacklogTracing in interface org.apache.camel.RuntimeConfiguration
    • setBacklogTracing

      public void setBacklogTracing(Boolean backlogTrace)
      Specified by:
      setBacklogTracing in interface org.apache.camel.RuntimeConfiguration
    • setDebugging

      public void setDebugging(Boolean debug)
      Specified by:
      setDebugging in interface org.apache.camel.RuntimeConfiguration
    • isDebugging

      public Boolean isDebugging()
      Specified by:
      isDebugging in interface org.apache.camel.RuntimeConfiguration
    • setDebugStandby

      public void setDebugStandby(boolean debugStandby)
      Specified by:
      setDebugStandby in interface org.apache.camel.CamelContext
    • isDebugStandby

      public boolean isDebugStandby()
      Specified by:
      isDebugStandby in interface org.apache.camel.CamelContext
    • setDebuggingBreakpoints

      public void setDebuggingBreakpoints(String debugBreakpoints)
    • getDebuggingBreakpoints

      public String getDebuggingBreakpoints()
    • setMessageHistory

      public void setMessageHistory(Boolean messageHistory)
      Specified by:
      setMessageHistory in interface org.apache.camel.RuntimeConfiguration
    • isMessageHistory

      public Boolean isMessageHistory()
      Specified by:
      isMessageHistory in interface org.apache.camel.RuntimeConfiguration
    • setLogMask

      public void setLogMask(Boolean logMask)
      Specified by:
      setLogMask in interface org.apache.camel.RuntimeConfiguration
    • isLogMask

      public Boolean isLogMask()
      Specified by:
      isLogMask in interface org.apache.camel.RuntimeConfiguration
    • isLogExhaustedMessageBody

      public Boolean isLogExhaustedMessageBody()
      Specified by:
      isLogExhaustedMessageBody in interface org.apache.camel.RuntimeConfiguration
    • setLogExhaustedMessageBody

      public void setLogExhaustedMessageBody(Boolean logExhaustedMessageBody)
      Specified by:
      setLogExhaustedMessageBody in interface org.apache.camel.RuntimeConfiguration
    • getDelayer

      public Long getDelayer()
      Specified by:
      getDelayer in interface org.apache.camel.RuntimeConfiguration
    • setDelayer

      public void setDelayer(Long delay)
      Specified by:
      setDelayer in interface org.apache.camel.RuntimeConfiguration
    • createProducerTemplate

      public org.apache.camel.ProducerTemplate createProducerTemplate()
      Specified by:
      createProducerTemplate in interface org.apache.camel.CamelContext
    • createProducerTemplate

      public org.apache.camel.ProducerTemplate createProducerTemplate(int maximumCacheSize)
      Specified by:
      createProducerTemplate in interface org.apache.camel.CamelContext
    • createFluentProducerTemplate

      public org.apache.camel.FluentProducerTemplate createFluentProducerTemplate()
      Specified by:
      createFluentProducerTemplate in interface org.apache.camel.CamelContext
    • createFluentProducerTemplate

      public org.apache.camel.FluentProducerTemplate createFluentProducerTemplate(int maximumCacheSize)
      Specified by:
      createFluentProducerTemplate in interface org.apache.camel.CamelContext
    • createConsumerTemplate

      public org.apache.camel.ConsumerTemplate createConsumerTemplate()
      Specified by:
      createConsumerTemplate in interface org.apache.camel.CamelContext
    • createConsumerTemplate

      public org.apache.camel.ConsumerTemplate createConsumerTemplate(int maximumCacheSize)
      Specified by:
      createConsumerTemplate in interface org.apache.camel.CamelContext
    • createErrorHandlerExecutorService

      protected ScheduledExecutorService createErrorHandlerExecutorService()
    • getRuntimeEndpointRegistry

      public org.apache.camel.spi.RuntimeEndpointRegistry getRuntimeEndpointRegistry()
      Specified by:
      getRuntimeEndpointRegistry in interface org.apache.camel.CamelContext
    • setRuntimeEndpointRegistry

      public void setRuntimeEndpointRegistry(org.apache.camel.spi.RuntimeEndpointRegistry runtimeEndpointRegistry)
      Specified by:
      setRuntimeEndpointRegistry in interface org.apache.camel.CamelContext
    • getUptime

      public Duration getUptime()
      Specified by:
      getUptime in interface org.apache.camel.CamelContext
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface org.apache.camel.CamelContext
    • getClock

      public org.apache.camel.clock.EventClock<org.apache.camel.ContextEvents> getClock()
      Specified by:
      getClock in interface org.apache.camel.CamelContext
    • doSuspend

      protected void doSuspend() throws Exception
      Overrides:
      doSuspend in class org.apache.camel.support.service.BaseService
      Throws:
      Exception
    • doResume

      protected void doResume() throws Exception
      Overrides:
      doResume in class org.apache.camel.support.service.BaseService
      Throws:
      Exception
    • doLifecycleChange

      protected AutoCloseable doLifecycleChange()
      Overrides:
      doLifecycleChange in class org.apache.camel.support.service.BaseService
    • init

      public void init()
      Specified by:
      init in interface org.apache.camel.CamelContextLifecycle
      Overrides:
      init in class org.apache.camel.support.service.BaseService
    • start

      public void start()
      Specified by:
      start in interface org.apache.camel.CamelContextLifecycle
      Overrides:
      start in class org.apache.camel.support.service.BaseService
    • stop

      public void stop()
      Specified by:
      stop in interface org.apache.camel.CamelContextLifecycle
      Overrides:
      stop in class org.apache.camel.support.service.BaseService
    • doBuild

      public void doBuild() throws Exception
      Overrides:
      doBuild in class org.apache.camel.support.service.BaseService
      Throws:
      Exception
    • resetBuildTime

      protected void resetBuildTime()
      Internal API to reset build time. Used by quarkus.
    • doInit

      public void doInit() throws Exception
      Overrides:
      doInit in class org.apache.camel.support.service.BaseService
      Throws:
      Exception
    • doStart

      protected void doStart() throws Exception
      Overrides:
      doStart in class org.apache.camel.support.service.BaseService
      Throws:
      Exception
    • doStartContext

      protected void doStartContext() throws Exception
      Throws:
      Exception
    • logDuplicateComponents

      protected void logDuplicateComponents()
    • logStartSummary

      protected void logStartSummary()
    • doStartCamel

      protected void doStartCamel() throws Exception
      Throws:
      Exception
    • doStop

      protected void doStop() throws Exception
      Overrides:
      doStop in class org.apache.camel.support.service.BaseService
      Throws:
      Exception
    • doFail

      protected void doFail(Exception e)
      Overrides:
      doFail in class org.apache.camel.support.service.BaseService
    • doDumpRoutes

      protected void doDumpRoutes()
    • logRouteStopSummary

      protected void logRouteStopSummary(org.apache.camel.LoggingLevel loggingLevel)
    • startRouteDefinitions

      public void startRouteDefinitions() throws Exception
      Throws:
      Exception
    • removeRouteDefinitionsFromTemplate

      public void removeRouteDefinitionsFromTemplate() throws Exception
      Throws:
      Exception
    • isStreamCachingInUse

      protected boolean isStreamCachingInUse() throws Exception
      Throws:
      Exception
    • bindDataFormats

      protected void bindDataFormats() throws Exception
      Throws:
      Exception
    • routeSupportsSuspension

      protected boolean routeSupportsSuspension(String routeId)
    • startRouteService

      public void startRouteService(RouteService routeService, boolean addingRoutes) throws Exception
      Starts the given route service
      Throws:
      Exception
    • resumeRouteService

      protected void resumeRouteService(RouteService routeService) throws Exception
      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

      protected void shutdownRouteService(RouteService routeService) throws Exception
      Throws:
      Exception
    • shutdownRouteService

      protected void shutdownRouteService(RouteService routeService, org.apache.camel.LoggingLevel loggingLevel)
    • suspendRouteService

      protected void suspendRouteService(RouteService routeService)
    • 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

      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 some Registry
      Parameters:
      uri - the uri for the endpoint to be created
      Returns:
      the newly created endpoint or null if it could not be resolved
    • convertBeanToEndpoint

      protected org.apache.camel.Endpoint convertBeanToEndpoint(String uri, Object bean)
      Strategy method for attempting to convert the bean from a Registry 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

      public Map<String,String> getGlobalOptions()
      Specified by:
      getGlobalOptions in interface org.apache.camel.CamelContext
    • setGlobalOptions

      public void setGlobalOptions(Map<String,String> globalOptions)
      Specified by:
      setGlobalOptions in interface org.apache.camel.CamelContext
    • createBootstrapFactoryFinder

      protected org.apache.camel.spi.FactoryFinder createBootstrapFactoryFinder(String path)
    • createFactoryFinder

      protected org.apache.camel.spi.FactoryFinder createFactoryFinder(String path)
    • getClassResolver

      public org.apache.camel.spi.ClassResolver getClassResolver()
      Specified by:
      getClassResolver in interface org.apache.camel.CamelContext
    • setClassResolver

      public void setClassResolver(org.apache.camel.spi.ClassResolver classResolver)
      Specified by:
      setClassResolver in interface org.apache.camel.CamelContext
    • getComponentNames

      public Set<String> getComponentNames()
      Specified by:
      getComponentNames in interface org.apache.camel.CamelContext
    • getLanguageNames

      public Set<String> getLanguageNames()
      Specified by:
      getLanguageNames in interface org.apache.camel.CamelContext
    • getManagementStrategy

      public org.apache.camel.spi.ManagementStrategy getManagementStrategy()
      Specified by:
      getManagementStrategy in interface org.apache.camel.CamelContext
    • setManagementStrategy

      public void setManagementStrategy(org.apache.camel.spi.ManagementStrategy managementStrategy)
      Specified by:
      setManagementStrategy in interface org.apache.camel.CamelContext
    • disableJMX

      public void disableJMX()
      Specified by:
      disableJMX in interface org.apache.camel.CamelContext
    • isJMXDisabled

      public boolean isJMXDisabled()
    • getInflightRepository

      public org.apache.camel.spi.InflightRepository getInflightRepository()
      Specified by:
      getInflightRepository in interface org.apache.camel.CamelContext
    • setInflightRepository

      public void setInflightRepository(org.apache.camel.spi.InflightRepository repository)
      Specified by:
      setInflightRepository in interface org.apache.camel.CamelContext
    • setAutoStartup

      public void setAutoStartup(Boolean autoStartup)
      Specified by:
      setAutoStartup in interface org.apache.camel.RuntimeConfiguration
    • isAutoStartup

      public Boolean isAutoStartup()
      Specified by:
      isAutoStartup in interface org.apache.camel.RuntimeConfiguration
    • isLoadTypeConverters

      public Boolean isLoadTypeConverters()
      Specified by:
      isLoadTypeConverters in interface org.apache.camel.CamelContext
    • setLoadTypeConverters

      public void setLoadTypeConverters(Boolean loadTypeConverters)
      Specified by:
      setLoadTypeConverters in interface org.apache.camel.CamelContext
    • isLoadHealthChecks

      public Boolean isLoadHealthChecks()
      Specified by:
      isLoadHealthChecks in interface org.apache.camel.CamelContext
    • setLoadHealthChecks

      public void setLoadHealthChecks(Boolean loadHealthChecks)
      Specified by:
      setLoadHealthChecks in interface org.apache.camel.CamelContext
    • isModeline

      public Boolean isModeline()
      Specified by:
      isModeline in interface org.apache.camel.CamelContext
    • setModeline

      public void setModeline(Boolean modeline)
      Specified by:
      setModeline in interface org.apache.camel.CamelContext
    • isDevConsole

      public Boolean isDevConsole()
      Specified by:
      isDevConsole in interface org.apache.camel.CamelContext
    • setDevConsole

      public void setDevConsole(Boolean loadDevConsoles)
      Specified by:
      setDevConsole in interface org.apache.camel.CamelContext
    • isTypeConverterStatisticsEnabled

      public Boolean isTypeConverterStatisticsEnabled()
      Specified by:
      isTypeConverterStatisticsEnabled in interface org.apache.camel.CamelContext
    • isSourceLocationEnabled

      public Boolean isSourceLocationEnabled()
      Specified by:
      isSourceLocationEnabled in interface org.apache.camel.CamelContext
    • setSourceLocationEnabled

      public void setSourceLocationEnabled(Boolean sourceLocationEnabled)
      Specified by:
      setSourceLocationEnabled in interface org.apache.camel.CamelContext
    • setTypeConverterStatisticsEnabled

      public void setTypeConverterStatisticsEnabled(Boolean typeConverterStatisticsEnabled)
      Specified by:
      setTypeConverterStatisticsEnabled in interface org.apache.camel.CamelContext
    • getDumpRoutes

      public String getDumpRoutes()
      Specified by:
      getDumpRoutes in interface org.apache.camel.CamelContext
    • setDumpRoutes

      public void setDumpRoutes(String dumpRoutes)
      Specified by:
      setDumpRoutes in interface org.apache.camel.CamelContext
    • isUseMDCLogging

      public Boolean isUseMDCLogging()
      Specified by:
      isUseMDCLogging in interface org.apache.camel.CamelContext
    • setUseMDCLogging

      public void setUseMDCLogging(Boolean useMDCLogging)
      Specified by:
      setUseMDCLogging in interface org.apache.camel.CamelContext
    • getMDCLoggingKeysPattern

      public String getMDCLoggingKeysPattern()
      Specified by:
      getMDCLoggingKeysPattern in interface org.apache.camel.CamelContext
    • setMDCLoggingKeysPattern

      public void setMDCLoggingKeysPattern(String pattern)
      Specified by:
      setMDCLoggingKeysPattern in interface org.apache.camel.CamelContext
    • isUseDataType

      public Boolean isUseDataType()
      Specified by:
      isUseDataType in interface org.apache.camel.CamelContext
    • setUseDataType

      public void setUseDataType(Boolean useDataType)
      Specified by:
      setUseDataType in interface org.apache.camel.CamelContext
    • isUseBreadcrumb

      public Boolean isUseBreadcrumb()
      Specified by:
      isUseBreadcrumb in interface org.apache.camel.CamelContext
    • setUseBreadcrumb

      public void setUseBreadcrumb(Boolean useBreadcrumb)
      Specified by:
      setUseBreadcrumb in interface org.apache.camel.CamelContext
    • getApplicationContextClassLoader

      public ClassLoader getApplicationContextClassLoader()
      Specified by:
      getApplicationContextClassLoader in interface org.apache.camel.CamelContext
    • setApplicationContextClassLoader

      public void setApplicationContextClassLoader(ClassLoader classLoader)
      Specified by:
      setApplicationContextClassLoader in interface org.apache.camel.CamelContext
    • resolveDataFormat

      public org.apache.camel.spi.DataFormat resolveDataFormat(String name)
      Specified by:
      resolveDataFormat in interface org.apache.camel.CamelContext
    • createDataFormat

      public org.apache.camel.spi.DataFormat createDataFormat(String name)
      Specified by:
      createDataFormat in interface org.apache.camel.CamelContext
    • getDataFormatNames

      public Set<String> getDataFormatNames()
      Specified by:
      getDataFormatNames in interface org.apache.camel.CamelContext
    • getShutdownStrategy

      public org.apache.camel.spi.ShutdownStrategy getShutdownStrategy()
      Specified by:
      getShutdownStrategy in interface org.apache.camel.CamelContext
    • setShutdownStrategy

      public void setShutdownStrategy(org.apache.camel.spi.ShutdownStrategy shutdownStrategy)
      Specified by:
      setShutdownStrategy in interface org.apache.camel.CamelContext
    • getShutdownRoute

      public org.apache.camel.ShutdownRoute getShutdownRoute()
      Specified by:
      getShutdownRoute in interface org.apache.camel.RuntimeConfiguration
    • setShutdownRoute

      public void setShutdownRoute(org.apache.camel.ShutdownRoute shutdownRoute)
      Specified by:
      setShutdownRoute in interface org.apache.camel.RuntimeConfiguration
    • getShutdownRunningTask

      public org.apache.camel.ShutdownRunningTask getShutdownRunningTask()
      Specified by:
      getShutdownRunningTask in interface org.apache.camel.RuntimeConfiguration
    • setShutdownRunningTask

      public void setShutdownRunningTask(org.apache.camel.ShutdownRunningTask shutdownRunningTask)
      Specified by:
      setShutdownRunningTask in interface org.apache.camel.RuntimeConfiguration
    • setAllowUseOriginalMessage

      public void setAllowUseOriginalMessage(Boolean allowUseOriginalMessage)
      Specified by:
      setAllowUseOriginalMessage in interface org.apache.camel.RuntimeConfiguration
    • isAllowUseOriginalMessage

      public Boolean isAllowUseOriginalMessage()
      Specified by:
      isAllowUseOriginalMessage in interface org.apache.camel.RuntimeConfiguration
    • isCaseInsensitiveHeaders

      public Boolean isCaseInsensitiveHeaders()
      Specified by:
      isCaseInsensitiveHeaders in interface org.apache.camel.RuntimeConfiguration
    • setCaseInsensitiveHeaders

      public void setCaseInsensitiveHeaders(Boolean caseInsensitiveHeaders)
      Specified by:
      setCaseInsensitiveHeaders in interface org.apache.camel.RuntimeConfiguration
    • isAutowiredEnabled

      public Boolean isAutowiredEnabled()
      Specified by:
      isAutowiredEnabled in interface org.apache.camel.RuntimeConfiguration
    • setAutowiredEnabled

      public void setAutowiredEnabled(Boolean autowiredEnabled)
      Specified by:
      setAutowiredEnabled in interface org.apache.camel.RuntimeConfiguration
    • getExecutorServiceManager

      public org.apache.camel.spi.ExecutorServiceManager getExecutorServiceManager()
      Specified by:
      getExecutorServiceManager in interface org.apache.camel.CamelContext
    • setExecutorServiceManager

      public void setExecutorServiceManager(org.apache.camel.spi.ExecutorServiceManager executorServiceManager)
      Specified by:
      setExecutorServiceManager in interface org.apache.camel.CamelContext
    • getMessageHistoryFactory

      public org.apache.camel.spi.MessageHistoryFactory getMessageHistoryFactory()
      Specified by:
      getMessageHistoryFactory in interface org.apache.camel.CamelContext
    • setMessageHistoryFactory

      public void setMessageHistoryFactory(org.apache.camel.spi.MessageHistoryFactory messageHistoryFactory)
      Specified by:
      setMessageHistoryFactory in interface org.apache.camel.CamelContext
    • getDebugger

      public org.apache.camel.spi.Debugger getDebugger()
      Specified by:
      getDebugger in interface org.apache.camel.CamelContext
    • setDebugger

      public void setDebugger(org.apache.camel.spi.Debugger debugger)
      Specified by:
      setDebugger in interface org.apache.camel.CamelContext
    • getTracer

      public org.apache.camel.spi.Tracer getTracer()
      Specified by:
      getTracer in interface org.apache.camel.CamelContext
    • setTracer

      public void setTracer(org.apache.camel.spi.Tracer tracer)
      Specified by:
      setTracer in interface org.apache.camel.CamelContext
    • setTracingStandby

      public void setTracingStandby(boolean tracingStandby)
      Specified by:
      setTracingStandby in interface org.apache.camel.CamelContext
    • isTracingStandby

      public boolean isTracingStandby()
      Specified by:
      isTracingStandby in interface org.apache.camel.CamelContext
    • setTracingTemplates

      public void setTracingTemplates(boolean tracingTemplates)
      Specified by:
      setTracingTemplates in interface org.apache.camel.CamelContext
    • isTracingTemplates

      public boolean isTracingTemplates()
      Specified by:
      isTracingTemplates in interface org.apache.camel.CamelContext
    • setBacklogTracingTemplates

      public void setBacklogTracingTemplates(boolean backlogTracingTemplates)
      Specified by:
      setBacklogTracingTemplates in interface org.apache.camel.CamelContext
    • isBacklogTracingTemplates

      public boolean isBacklogTracingTemplates()
      Specified by:
      isBacklogTracingTemplates in interface org.apache.camel.CamelContext
    • setBacklogTracingStandby

      public void setBacklogTracingStandby(boolean backlogTracingStandby)
      Specified by:
      setBacklogTracingStandby in interface org.apache.camel.CamelContext
    • isBacklogTracingStandby

      public boolean isBacklogTracingStandby()
      Specified by:
      isBacklogTracingStandby in interface org.apache.camel.CamelContext
    • getUuidGenerator

      public org.apache.camel.spi.UuidGenerator getUuidGenerator()
      Specified by:
      getUuidGenerator in interface org.apache.camel.CamelContext
    • setUuidGenerator

      public void setUuidGenerator(org.apache.camel.spi.UuidGenerator uuidGenerator)
      Specified by:
      setUuidGenerator in interface org.apache.camel.CamelContext
    • getStreamCachingStrategy

      public org.apache.camel.spi.StreamCachingStrategy getStreamCachingStrategy()
      Specified by:
      getStreamCachingStrategy in interface org.apache.camel.CamelContext
    • setStreamCachingStrategy

      public void setStreamCachingStrategy(org.apache.camel.spi.StreamCachingStrategy streamCachingStrategy)
      Specified by:
      setStreamCachingStrategy in interface org.apache.camel.CamelContext
    • getRestRegistry

      public org.apache.camel.spi.RestRegistry getRestRegistry()
      Specified by:
      getRestRegistry in interface org.apache.camel.CamelContext
    • setRestRegistry

      public void setRestRegistry(org.apache.camel.spi.RestRegistry restRegistry)
      Specified by:
      setRestRegistry in interface org.apache.camel.CamelContext
    • createRestRegistry

      protected org.apache.camel.spi.RestRegistry createRestRegistry()
    • getGlobalOption

      public String getGlobalOption(String key)
      Specified by:
      getGlobalOption in interface org.apache.camel.CamelContext
    • resolveTransformer

      public org.apache.camel.spi.Transformer resolveTransformer(String name)
      Specified by:
      resolveTransformer in interface org.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 interface org.apache.camel.CamelContext
    • getTransformerRegistry

      public org.apache.camel.spi.TransformerRegistry getTransformerRegistry()
      Specified by:
      getTransformerRegistry in interface org.apache.camel.CamelContext
    • resolveValidator

      public org.apache.camel.spi.Validator resolveValidator(org.apache.camel.spi.DataType type)
      Specified by:
      resolveValidator in interface org.apache.camel.CamelContext
    • getValidatorRegistry

      public org.apache.camel.spi.ValidatorRegistry getValidatorRegistry()
      Specified by:
      getValidatorRegistry in interface org.apache.camel.CamelContext
    • getSSLContextParameters

      public org.apache.camel.support.jsse.SSLContextParameters getSSLContextParameters()
      Specified by:
      getSSLContextParameters in interface org.apache.camel.CamelContext
    • setSSLContextParameters

      public void setSSLContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
      Specified by:
      setSSLContextParameters in interface org.apache.camel.CamelContext
    • getStartupSummaryLevel

      public org.apache.camel.StartupSummaryLevel getStartupSummaryLevel()
      Specified by:
      getStartupSummaryLevel in interface org.apache.camel.CamelContext
    • setStartupSummaryLevel

      public void setStartupSummaryLevel(org.apache.camel.StartupSummaryLevel startupSummaryLevel)
      Specified by:
      setStartupSummaryLevel in interface org.apache.camel.CamelContext
    • getRouteServices

      protected Map<String,RouteService> getRouteServices()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • failOnStartup

      protected void failOnStartup(Exception e)
    • 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

      protected abstract org.apache.camel.spi.ValidatorRegistry<ValidatorKey> 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

      public abstract String getTestExcludeRoutes()
    • getCamelContextExtension

      public org.apache.camel.ExtendedCamelContext getCamelContextExtension()
      Specified by:
      getCamelContextExtension in interface org.apache.camel.CamelContext
    • getName

      public String getName()
      Specified by:
      getName in interface org.apache.camel.CamelContext
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.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 interface org.apache.camel.CamelContext