Class AbstractCamelContext

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.CamelContext, org.apache.camel.CamelContextLifecycle, org.apache.camel.CatalogCamelContext, org.apache.camel.ExtendedCamelContext, 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.ExtendedCamelContext, org.apache.camel.CatalogCamelContext, org.apache.camel.Suspendable
    Represents the context used to configure routes and the policies to use.
    • Constructor Detail

      • AbstractCamelContext

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

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

      • AbstractCamelContext

        public AbstractCamelContext​(org.apache.camel.spi.Registry registry)
        Creates the CamelContext using the given registry
        Parameters:
        registry - the registry
      • AbstractCamelContext

        public AbstractCamelContext​(boolean build)
    • Method Detail

      • 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.
      • adapt

        public <T extends org.apache.camel.CamelContext> T adapt​(Class<T> type)
        Specified by:
        adapt in interface org.apache.camel.CamelContext
      • getExtension

        public <T> T getExtension​(Class<T> type)
        Specified by:
        getExtension in interface org.apache.camel.CamelContext
      • setExtension

        public <T> void setExtension​(Class<T> type,
                                     T module)
        Specified by:
        setExtension in interface org.apache.camel.CamelContext
      • setDefaultExtension

        public <T> void setDefaultExtension​(Class<T> type,
                                            Supplier<T> module)
      • isVetoStarted

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

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

        public void setName​(String name)
        Specified by:
        setName in interface org.apache.camel.ExtendedCamelContext
      • 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
      • resolveComponent

        public org.apache.camel.Component resolveComponent​(String name)
      • 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<EndpointKey> 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
      • getEndpointMap

        public Map<String,​org.apache.camel.Endpoint> getEndpointMap()
        Specified by:
        getEndpointMap in interface org.apache.camel.CamelContext
      • hasEndpoint

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

        public org.apache.camel.Endpoint hasEndpoint​(org.apache.camel.spi.NormalizedEndpointUri uri)
        Specified by:
        hasEndpoint in interface org.apache.camel.ExtendedCamelContext
      • 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)
                            throws Exception
        Specified by:
        removeEndpoint in interface org.apache.camel.CamelContext
        Throws:
        Exception
      • removeEndpoints

        public Collection<org.apache.camel.Endpoint> removeEndpoints​(String uri)
                                                              throws Exception
        Specified by:
        removeEndpoints in interface org.apache.camel.CamelContext
        Throws:
        Exception
      • normalizeUri

        public org.apache.camel.spi.NormalizedEndpointUri normalizeUri​(String uri)
        Specified by:
        normalizeUri in interface org.apache.camel.ExtendedCamelContext
      • 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​(org.apache.camel.spi.NormalizedEndpointUri uri)
        Specified by:
        getEndpoint in interface org.apache.camel.ExtendedCamelContext
      • getPrototypeEndpoint

        public org.apache.camel.Endpoint getPrototypeEndpoint​(String uri)
        Specified by:
        getPrototypeEndpoint in interface org.apache.camel.ExtendedCamelContext
      • getPrototypeEndpoint

        public org.apache.camel.Endpoint getPrototypeEndpoint​(org.apache.camel.spi.NormalizedEndpointUri uri)
        Specified by:
        getPrototypeEndpoint in interface org.apache.camel.ExtendedCamelContext
      • doGetEndpoint

        protected org.apache.camel.Endpoint doGetEndpoint​(String uri,
                                                          boolean normalized,
                                                          boolean prototype)
      • getEndpoint

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

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

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

        public <T extends org.apache.camel.Endpoint> T getEndpoint​(String name,
                                                                   Class<T> endpointType)
        Specified by:
        getEndpoint in interface org.apache.camel.CamelContext
      • registerEndpointCallback

        public void registerEndpointCallback​(org.apache.camel.spi.EndpointStrategy strategy)
        Specified by:
        registerEndpointCallback in interface org.apache.camel.ExtendedCamelContext
      • 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 EndpointKey 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
      • getEndpointKeyPreNormalized

        protected EndpointKey getEndpointKeyPreNormalized​(String uri)
        Gets the endpoint key to use for lookup or whe adding endpoints to the DefaultEndpointRegistry
        Parameters:
        uri - the endpoint uri which is pre normalized
        Returns:
        the key
      • getEndpointKey

        protected EndpointKey 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
      • setRouteController

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

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

        public List<org.apache.camel.spi.RouteStartupOrder> getRouteStartupOrder()
        Specified by:
        getRouteStartupOrder in interface org.apache.camel.ExtendedCamelContext
      • 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
      • removeRoute

        public void removeRoute​(org.apache.camel.Route route)
        Specified by:
        removeRoute in interface org.apache.camel.ExtendedCamelContext
      • addRoute

        public void addRoute​(org.apache.camel.Route route)
        Specified by:
        addRoute in interface org.apache.camel.ExtendedCamelContext
      • addRoutes

        public void addRoutes​(org.apache.camel.RoutesBuilder builder)
                       throws Exception
        Specified by:
        addRoutes 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)
      • isSetupRoutes

        public boolean isSetupRoutes()
        Specified by:
        isSetupRoutes in interface org.apache.camel.ExtendedCamelContext
      • doShutdownRoute

        protected void doShutdownRoute​(String routeId,
                                       long timeout,
                                       TimeUnit timeUnit,
                                       boolean removingRoutes)
                                throws Exception
        Throws:
        Exception
      • removeRoute

        public boolean removeRoute​(String routeId)
                            throws Exception
        Specified by:
        removeRoute in interface org.apache.camel.CamelContext
        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)
                                 throws Exception
        Specified by:
        addPrototypeService in interface org.apache.camel.CamelContext
        Throws:
        Exception
      • doAddService

        protected <T> T doAddService​(T object)
      • doAddService

        protected <T> T doAddService​(T object,
                                     boolean stopOnShutdown)
      • doAddService

        protected <T> T doAddService​(T object,
                                     boolean stopOnShutdown,
                                     boolean forceStart,
                                     boolean useLifecycleStrategies)
      • 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
      • deferStartService

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

        public void deferStartService​(Object object,
                                      boolean stopOnShutdown,
                                      boolean startEarly)
                               throws Exception
        Throws:
        Exception
      • 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
      • 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 language)
        Specified by:
        resolveLanguage in interface org.apache.camel.CamelContext
      • resolvePropertyPlaceholders

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

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

        protected org.apache.camel.TypeConverter getOrCreateTypeConverter()
      • setTypeConverter

        public void setTypeConverter​(org.apache.camel.TypeConverter typeConverter)
      • 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
      • getBeanPostProcessor

        public org.apache.camel.spi.CamelBeanPostProcessor getBeanPostProcessor()
        Specified by:
        getBeanPostProcessor in interface org.apache.camel.ExtendedCamelContext
      • setBeanPostProcessor

        public void setBeanPostProcessor​(org.apache.camel.spi.CamelBeanPostProcessor beanPostProcessor)
      • getManagementMBeanAssembler

        public org.apache.camel.spi.ManagementMBeanAssembler getManagementMBeanAssembler()
        Specified by:
        getManagementMBeanAssembler in interface org.apache.camel.ExtendedCamelContext
      • setManagementMBeanAssembler

        public void setManagementMBeanAssembler​(org.apache.camel.spi.ManagementMBeanAssembler managementMBeanAssembler)
      • getComponentResolver

        public org.apache.camel.spi.ComponentResolver getComponentResolver()
        Specified by:
        getComponentResolver in interface org.apache.camel.ExtendedCamelContext
      • setComponentResolver

        public void setComponentResolver​(org.apache.camel.spi.ComponentResolver componentResolver)
        Specified by:
        setComponentResolver in interface org.apache.camel.ExtendedCamelContext
      • getComponentNameResolver

        public org.apache.camel.spi.ComponentNameResolver getComponentNameResolver()
        Specified by:
        getComponentNameResolver in interface org.apache.camel.ExtendedCamelContext
      • setComponentNameResolver

        public void setComponentNameResolver​(org.apache.camel.spi.ComponentNameResolver componentNameResolver)
        Specified by:
        setComponentNameResolver in interface org.apache.camel.ExtendedCamelContext
      • getLanguageResolver

        public org.apache.camel.spi.LanguageResolver getLanguageResolver()
        Specified by:
        getLanguageResolver in interface org.apache.camel.ExtendedCamelContext
      • setLanguageResolver

        public void setLanguageResolver​(org.apache.camel.spi.LanguageResolver languageResolver)
        Specified by:
        setLanguageResolver in interface org.apache.camel.ExtendedCamelContext
      • getConfigurerResolver

        public org.apache.camel.spi.ConfigurerResolver getConfigurerResolver()
        Specified by:
        getConfigurerResolver in interface org.apache.camel.ExtendedCamelContext
      • setConfigurerResolver

        public void setConfigurerResolver​(org.apache.camel.spi.ConfigurerResolver configurerResolver)
        Specified by:
        setConfigurerResolver in interface org.apache.camel.ExtendedCamelContext
      • isAutoCreateComponents

        public boolean isAutoCreateComponents()
      • setAutoCreateComponents

        public void setAutoCreateComponents​(boolean autoCreateComponents)
      • getRegistry

        public org.apache.camel.spi.Registry getRegistry()
        Specified by:
        getRegistry in interface org.apache.camel.CamelContext
      • getRegistry

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

        public void setRegistry​(org.apache.camel.spi.Registry registry)
        Specified by:
        setRegistry in interface org.apache.camel.ExtendedCamelContext
      • 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
      • setupRoutes

        public void setupRoutes​(boolean done)
        Specified by:
        setupRoutes in interface org.apache.camel.ExtendedCamelContext
      • 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
      • getInterceptStrategies

        public List<org.apache.camel.spi.InterceptStrategy> getInterceptStrategies()
        Specified by:
        getInterceptStrategies in interface org.apache.camel.ExtendedCamelContext
      • setInterceptStrategies

        public void setInterceptStrategies​(List<org.apache.camel.spi.InterceptStrategy> interceptStrategies)
      • addInterceptStrategy

        public void addInterceptStrategy​(org.apache.camel.spi.InterceptStrategy interceptStrategy)
        Specified by:
        addInterceptStrategy in interface org.apache.camel.ExtendedCamelContext
      • getRoutePolicyFactories

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

        public void setRoutePolicyFactories​(List<org.apache.camel.spi.RoutePolicyFactory> routePolicyFactories)
      • addRoutePolicyFactory

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

        public Set<org.apache.camel.spi.LogListener> getLogListeners()
        Specified by:
        getLogListeners in interface org.apache.camel.ExtendedCamelContext
      • addLogListener

        public void addLogListener​(org.apache.camel.spi.LogListener listener)
        Specified by:
        addLogListener in interface org.apache.camel.ExtendedCamelContext
      • 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
      • 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
      • 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
      • getErrorHandlerFactory

        public org.apache.camel.ErrorHandlerFactory getErrorHandlerFactory()
        Specified by:
        getErrorHandlerFactory in interface org.apache.camel.ExtendedCamelContext
      • setErrorHandlerFactory

        public void setErrorHandlerFactory​(org.apache.camel.ErrorHandlerFactory errorHandlerFactory)
        Specified by:
        setErrorHandlerFactory in interface org.apache.camel.ExtendedCamelContext
      • getErrorHandlerExecutorService

        public ScheduledExecutorService getErrorHandlerExecutorService()
        Specified by:
        getErrorHandlerExecutorService in interface org.apache.camel.ExtendedCamelContext
      • setErrorHandlerExecutorService

        public void setErrorHandlerExecutorService​(ScheduledExecutorService errorHandlerExecutorService)
      • getUnitOfWorkFactory

        public org.apache.camel.spi.UnitOfWorkFactory getUnitOfWorkFactory()
        Specified by:
        getUnitOfWorkFactory in interface org.apache.camel.ExtendedCamelContext
      • setUnitOfWorkFactory

        public void setUnitOfWorkFactory​(org.apache.camel.spi.UnitOfWorkFactory unitOfWorkFactory)
        Specified by:
        setUnitOfWorkFactory in interface org.apache.camel.ExtendedCamelContext
      • 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 String getUptime()
        Specified by:
        getUptime in interface org.apache.camel.CamelContext
      • getUptimeMillis

        public long getUptimeMillis()
        Specified by:
        getUptimeMillis in interface org.apache.camel.CamelContext
      • getStartDate

        public Date getStartDate()
        Specified by:
        getStartDate in interface org.apache.camel.CamelContext
      • isEventNotificationApplicable

        public boolean isEventNotificationApplicable()
        Specified by:
        isEventNotificationApplicable in interface org.apache.camel.ExtendedCamelContext
      • setEventNotificationApplicable

        public void setEventNotificationApplicable​(boolean eventNotificationApplicable)
        Specified by:
        setEventNotificationApplicable in interface org.apache.camel.ExtendedCamelContext
      • getVersion

        public String getVersion()
        Specified by:
        getVersion 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
      • doBuild

        public void doBuild()
                     throws Exception
        Overrides:
        doBuild in class org.apache.camel.support.service.BaseService
        Throws:
        Exception
      • 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
      • doStop

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

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

        protected boolean isStreamCachingInUse()
                                        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
      • logRouteState

        protected void logRouteState​(org.apache.camel.Route route,
                                     String state)
      • 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()
      • doStartEagerServices

        protected void doStartEagerServices()
      • 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
      • getDefaultFactoryFinder

        public org.apache.camel.spi.FactoryFinder getDefaultFactoryFinder()
        Specified by:
        getDefaultFactoryFinder in interface org.apache.camel.ExtendedCamelContext
      • getFactoryFinderResolver

        public org.apache.camel.spi.FactoryFinderResolver getFactoryFinderResolver()
        Specified by:
        getFactoryFinderResolver in interface org.apache.camel.ExtendedCamelContext
      • setFactoryFinderResolver

        public void setFactoryFinderResolver​(org.apache.camel.spi.FactoryFinderResolver factoryFinderResolver)
        Specified by:
        setFactoryFinderResolver in interface org.apache.camel.ExtendedCamelContext
      • getFactoryFinder

        public org.apache.camel.spi.FactoryFinder getFactoryFinder​(String path)
        Specified by:
        getFactoryFinder in interface org.apache.camel.ExtendedCamelContext
      • 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
      • getPackageScanClassResolver

        public org.apache.camel.spi.PackageScanClassResolver getPackageScanClassResolver()
        Specified by:
        getPackageScanClassResolver in interface org.apache.camel.ExtendedCamelContext
      • setPackageScanClassResolver

        public void setPackageScanClassResolver​(org.apache.camel.spi.PackageScanClassResolver packageScanClassResolver)
        Specified by:
        setPackageScanClassResolver in interface org.apache.camel.ExtendedCamelContext
      • getPackageScanResourceResolver

        public org.apache.camel.spi.PackageScanResourceResolver getPackageScanResourceResolver()
        Specified by:
        getPackageScanResourceResolver in interface org.apache.camel.ExtendedCamelContext
      • setPackageScanResourceResolver

        public void setPackageScanResourceResolver​(org.apache.camel.spi.PackageScanResourceResolver packageScanResourceResolver)
        Specified by:
        setPackageScanResourceResolver in interface org.apache.camel.ExtendedCamelContext
      • getComponentNames

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

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

        public org.apache.camel.spi.ModelJAXBContextFactory getModelJAXBContextFactory()
        Specified by:
        getModelJAXBContextFactory in interface org.apache.camel.ExtendedCamelContext
      • setModelJAXBContextFactory

        public void setModelJAXBContextFactory​(org.apache.camel.spi.ModelJAXBContextFactory modelJAXBContextFactory)
        Specified by:
        setModelJAXBContextFactory in interface org.apache.camel.ExtendedCamelContext
      • getNodeIdFactory

        public org.apache.camel.spi.NodeIdFactory getNodeIdFactory()
        Specified by:
        getNodeIdFactory in interface org.apache.camel.ExtendedCamelContext
      • setNodeIdFactory

        public void setNodeIdFactory​(org.apache.camel.spi.NodeIdFactory idFactory)
        Specified by:
        setNodeIdFactory in interface org.apache.camel.ExtendedCamelContext
      • 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()
      • setupManagement

        public void setupManagement​(Map<String,​Object> options)
        Specified by:
        setupManagement in interface org.apache.camel.ExtendedCamelContext
      • 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
      • getAsyncProcessorAwaitManager

        public org.apache.camel.spi.AsyncProcessorAwaitManager getAsyncProcessorAwaitManager()
        Specified by:
        getAsyncProcessorAwaitManager in interface org.apache.camel.ExtendedCamelContext
      • setAsyncProcessorAwaitManager

        public void setAsyncProcessorAwaitManager​(org.apache.camel.spi.AsyncProcessorAwaitManager asyncProcessorAwaitManager)
        Specified by:
        setAsyncProcessorAwaitManager in interface org.apache.camel.ExtendedCamelContext
      • getBeanIntrospection

        public org.apache.camel.spi.BeanIntrospection getBeanIntrospection()
        Specified by:
        getBeanIntrospection in interface org.apache.camel.ExtendedCamelContext
      • setBeanIntrospection

        public void setBeanIntrospection​(org.apache.camel.spi.BeanIntrospection beanIntrospection)
        Specified by:
        setBeanIntrospection in interface org.apache.camel.ExtendedCamelContext
      • 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
      • isTypeConverterStatisticsEnabled

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

        public void setTypeConverterStatisticsEnabled​(Boolean typeConverterStatisticsEnabled)
        Specified by:
        setTypeConverterStatisticsEnabled 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
      • getDataFormatResolver

        public org.apache.camel.spi.DataFormatResolver getDataFormatResolver()
        Specified by:
        getDataFormatResolver in interface org.apache.camel.ExtendedCamelContext
      • setDataFormatResolver

        public void setDataFormatResolver​(org.apache.camel.spi.DataFormatResolver dataFormatResolver)
        Specified by:
        setDataFormatResolver in interface org.apache.camel.ExtendedCamelContext
      • 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
      • lookup

        protected static <T> T lookup​(org.apache.camel.CamelContext context,
                                      String ref,
                                      Class<T> type)
      • 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
      • 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
      • getProcessorFactory

        public org.apache.camel.spi.ProcessorFactory getProcessorFactory()
        Specified by:
        getProcessorFactory in interface org.apache.camel.ExtendedCamelContext
      • setProcessorFactory

        public void setProcessorFactory​(org.apache.camel.spi.ProcessorFactory processorFactory)
        Specified by:
        setProcessorFactory in interface org.apache.camel.ExtendedCamelContext
      • 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
      • 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()
      • getRestRegistryFactory

        public org.apache.camel.spi.RestRegistryFactory getRestRegistryFactory()
      • setRestRegistryFactory

        public void setRestRegistryFactory​(org.apache.camel.spi.RestRegistryFactory restRegistryFactory)
      • getGlobalOption

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

        public org.apache.camel.spi.Transformer resolveTransformer​(String scheme)
        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
      • setTransformerRegistry

        public void setTransformerRegistry​(org.apache.camel.spi.TransformerRegistry transformerRegistry)
      • 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
      • setValidatorRegistry

        public void setValidatorRegistry​(org.apache.camel.spi.ValidatorRegistry validatorRegistry)
      • setSSLContextParameters

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

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

        public org.apache.camel.spi.HeadersMapFactory getHeadersMapFactory()
        Specified by:
        getHeadersMapFactory in interface org.apache.camel.ExtendedCamelContext
      • setHeadersMapFactory

        public void setHeadersMapFactory​(org.apache.camel.spi.HeadersMapFactory headersMapFactory)
        Specified by:
        setHeadersMapFactory in interface org.apache.camel.ExtendedCamelContext
      • getXMLRoutesDefinitionLoader

        public org.apache.camel.spi.XMLRoutesDefinitionLoader getXMLRoutesDefinitionLoader()
        Specified by:
        getXMLRoutesDefinitionLoader in interface org.apache.camel.ExtendedCamelContext
      • setXMLRoutesDefinitionLoader

        public void setXMLRoutesDefinitionLoader​(org.apache.camel.spi.XMLRoutesDefinitionLoader xmlRoutesDefinitionLoader)
        Specified by:
        setXMLRoutesDefinitionLoader in interface org.apache.camel.ExtendedCamelContext
      • getModelToXMLDumper

        public org.apache.camel.spi.ModelToXMLDumper getModelToXMLDumper()
        Specified by:
        getModelToXMLDumper in interface org.apache.camel.ExtendedCamelContext
      • setModelToXMLDumper

        public void setModelToXMLDumper​(org.apache.camel.spi.ModelToXMLDumper modelToXMLDumper)
        Specified by:
        setModelToXMLDumper in interface org.apache.camel.ExtendedCamelContext
      • getRestBindingJaxbDataFormatFactory

        public org.apache.camel.spi.RestBindingJaxbDataFormatFactory getRestBindingJaxbDataFormatFactory()
        Specified by:
        getRestBindingJaxbDataFormatFactory in interface org.apache.camel.ExtendedCamelContext
      • setRestBindingJaxbDataFormatFactory

        public void setRestBindingJaxbDataFormatFactory​(org.apache.camel.spi.RestBindingJaxbDataFormatFactory restBindingJaxbDataFormatFactory)
        Specified by:
        setRestBindingJaxbDataFormatFactory in interface org.apache.camel.ExtendedCamelContext
      • getRuntimeCamelCatalog

        public org.apache.camel.catalog.RuntimeCamelCatalog getRuntimeCamelCatalog()
        Specified by:
        getRuntimeCamelCatalog in interface org.apache.camel.ExtendedCamelContext
      • setRuntimeCamelCatalog

        public void setRuntimeCamelCatalog​(org.apache.camel.catalog.RuntimeCamelCatalog runtimeCamelCatalog)
        Specified by:
        setRuntimeCamelCatalog in interface org.apache.camel.ExtendedCamelContext
      • getReactiveExecutor

        public org.apache.camel.spi.ReactiveExecutor getReactiveExecutor()
        Specified by:
        getReactiveExecutor in interface org.apache.camel.ExtendedCamelContext
      • setReactiveExecutor

        public void setReactiveExecutor​(org.apache.camel.spi.ReactiveExecutor reactiveExecutor)
        Specified by:
        setReactiveExecutor in interface org.apache.camel.ExtendedCamelContext
      • getDeferServiceFactory

        public org.apache.camel.spi.DeferServiceFactory getDeferServiceFactory()
        Specified by:
        getDeferServiceFactory in interface org.apache.camel.ExtendedCamelContext
      • getAnnotationBasedProcessorFactory

        public org.apache.camel.spi.AnnotationBasedProcessorFactory getAnnotationBasedProcessorFactory()
        Specified by:
        getAnnotationBasedProcessorFactory in interface org.apache.camel.ExtendedCamelContext
      • getBeanProxyFactory

        public org.apache.camel.spi.BeanProxyFactory getBeanProxyFactory()
        Specified by:
        getBeanProxyFactory in interface org.apache.camel.ExtendedCamelContext
      • setBeanProxyFactory

        public void setBeanProxyFactory​(org.apache.camel.spi.BeanProxyFactory beanProxyFactory)
      • getBeanProcessorFactory

        public org.apache.camel.spi.BeanProcessorFactory getBeanProcessorFactory()
        Specified by:
        getBeanProcessorFactory in interface org.apache.camel.ExtendedCamelContext
      • setBeanProcessorFactory

        public void setBeanProcessorFactory​(org.apache.camel.spi.BeanProcessorFactory beanProcessorFactory)
      • setContextCounter

        public static void setContextCounter​(int value)
        Reset context counter to a preset value. Mostly used for tests to ensure a predictable getName()
        Parameters:
        value - new value for the context counter
      • createHealthCheckRegistry

        protected abstract org.apache.camel.health.HealthCheckRegistry createHealthCheckRegistry()
      • 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()
      • 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()
      • 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()
      • createDataFormatResolver

        protected abstract org.apache.camel.spi.DataFormatResolver createDataFormatResolver()
      • 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()
      • createBeanProcessorFactory

        protected abstract org.apache.camel.spi.BeanProcessorFactory createBeanProcessorFactory()
      • createBeanIntrospection

        protected abstract org.apache.camel.spi.BeanIntrospection createBeanIntrospection()
      • createXMLRoutesDefinitionLoader

        protected abstract org.apache.camel.spi.XMLRoutesDefinitionLoader createXMLRoutesDefinitionLoader()
      • createModelToXMLDumper

        protected abstract org.apache.camel.spi.ModelToXMLDumper createModelToXMLDumper()
      • createRestBindingJaxbDataFormatFactory

        protected abstract org.apache.camel.spi.RestBindingJaxbDataFormatFactory createRestBindingJaxbDataFormatFactory()
      • createRuntimeCamelCatalog

        protected abstract org.apache.camel.catalog.RuntimeCamelCatalog createRuntimeCamelCatalog()
      • 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()
      • createRestRegistryFactory

        protected abstract org.apache.camel.spi.RestRegistryFactory createRestRegistryFactory()
      • createEndpointRegistry

        protected abstract org.apache.camel.spi.EndpointRegistry<EndpointKey> createEndpointRegistry​(Map<EndpointKey,​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()
      • createRestConfiguration

        protected org.apache.camel.spi.RestConfiguration createRestConfiguration()
      • getInternalRouteController

        public org.apache.camel.spi.RouteController getInternalRouteController()
        Specified by:
        getInternalRouteController in interface org.apache.camel.ExtendedCamelContext