Class LightweightCamelContext

java.lang.Object
org.apache.camel.impl.lw.LightweightCamelContext
All Implemented Interfaces:
AutoCloseable, org.apache.camel.CamelContext, org.apache.camel.CamelContextLifecycle, org.apache.camel.CatalogCamelContext, org.apache.camel.model.Model, org.apache.camel.model.ModelCamelContext, org.apache.camel.RuntimeConfiguration

public class LightweightCamelContext extends Object implements org.apache.camel.CamelContext, org.apache.camel.CatalogCamelContext, org.apache.camel.model.ModelCamelContext
  • Field Details

    • delegate

      protected volatile org.apache.camel.CamelContext delegate
  • Constructor Details

    • LightweightCamelContext

      protected LightweightCamelContext(org.apache.camel.CamelContext delegate)
    • LightweightCamelContext

      Creates the ModelCamelContext using DefaultRegistry as registry.

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

    • LightweightCamelContext

      public LightweightCamelContext(org.apache.camel.spi.BeanRepository repository)
      Creates the CamelContext using the given BeanRepository as first-choice repository, and the SimpleRegistry as fallback, via the DefaultRegistry implementation.
      Parameters:
      repository - the bean repository.
    • LightweightCamelContext

      public LightweightCamelContext(org.apache.camel.spi.Registry registry)
      Creates the ModelCamelContext using the given registry
      Parameters:
      registry - the registry
  • Method Details

    • isStarted

      public boolean isStarted()
      Specified by:
      isStarted in interface org.apache.camel.CamelContextLifecycle
    • isStarting

      public boolean isStarting()
      Specified by:
      isStarting in interface org.apache.camel.CamelContextLifecycle
    • isStopped

      public boolean isStopped()
      Specified by:
      isStopped in interface org.apache.camel.CamelContextLifecycle
    • isStopping

      public boolean isStopping()
      Specified by:
      isStopping in interface org.apache.camel.CamelContextLifecycle
    • isSuspended

      public boolean isSuspended()
      Specified by:
      isSuspended in interface org.apache.camel.CamelContextLifecycle
    • isRunAllowed

      public boolean isRunAllowed()
      Specified by:
      isRunAllowed in interface org.apache.camel.CamelContextLifecycle
    • isSuspending

      public boolean isSuspending()
      Specified by:
      isSuspending in interface org.apache.camel.CamelContextLifecycle
    • build

      public void build()
      Specified by:
      build in interface org.apache.camel.CamelContextLifecycle
    • suspend

      public void suspend()
      Specified by:
      suspend in interface org.apache.camel.CamelContextLifecycle
    • resume

      public void resume()
      Specified by:
      resume in interface org.apache.camel.CamelContextLifecycle
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface org.apache.camel.CamelContextLifecycle
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.apache.camel.CamelContextLifecycle
      Throws:
      Exception
    • 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
    • start

      public void start()
      Specified by:
      start in interface org.apache.camel.CamelContextLifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.apache.camel.CamelContextLifecycle
    • 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
    • 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
    • getDescription

      Specified by:
      getDescription 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 nameStrategy)
      Specified by:
      setManagementNameStrategy in interface org.apache.camel.CamelContext
    • getManagementName

      Specified by:
      getManagementName in interface org.apache.camel.CamelContext
    • setManagementName

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

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

      public org.apache.camel.ServiceStatus getStatus()
      Specified by:
      getStatus in interface org.apache.camel.CamelContextLifecycle
    • 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
    • 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
    • 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
    • addStartupListener

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

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

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

      public org.apache.camel.Component getComponent(String componentName)
      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
    • getComponentNames

      Specified by:
      getComponentNames 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<? extends org.apache.camel.ValueHolder<String>> getEndpointRegistry()
      Specified by:
      getEndpointRegistry 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
    • getEndpoint

      public <T extends org.apache.camel.Endpoint> T getEndpoint(String name, Class<T> endpointType)
      Specified by:
      getEndpoint 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) throws Exception
      Specified by:
      removeEndpoint in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • removeEndpoints

      public Collection<org.apache.camel.Endpoint> removeEndpoints(String pattern) throws Exception
      Specified by:
      removeEndpoints in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • 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
    • 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
    • removeRoute

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

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

      public List<org.apache.camel.spi.RoutePolicyFactory> getRoutePolicyFactories()
      Specified by:
      getRoutePolicyFactories 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
    • getRestConfiguration

      public org.apache.camel.spi.RestConfiguration getRestConfiguration()
      Specified by:
      getRestConfiguration 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
    • getVaultConfiguration

      public org.apache.camel.vault.VaultConfiguration getVaultConfiguration()
      Specified by:
      getVaultConfiguration 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
    • 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
    • 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
    • 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
    • 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
    • resolveLanguage

      public org.apache.camel.spi.Language resolveLanguage(String language) throws org.apache.camel.NoSuchLanguageException
      Specified by:
      resolveLanguage in interface org.apache.camel.CamelContext
      Throws:
      org.apache.camel.NoSuchLanguageException
    • resolvePropertyPlaceholders

      Specified by:
      resolvePropertyPlaceholders 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
    • getLanguageNames

      Specified by:
      getLanguageNames in interface org.apache.camel.CamelContext
    • 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
    • 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

      Specified by:
      getDataFormatNames in interface org.apache.camel.CamelContext
    • resolveTransformer

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

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

      Specified by:
      getGlobalOptions in interface org.apache.camel.CamelContext
    • getGlobalOption

      Specified by:
      getGlobalOption in interface org.apache.camel.CamelContext
    • 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 resolver)
      Specified by:
      setClassResolver 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 strategy)
      Specified by:
      setManagementStrategy in interface org.apache.camel.CamelContext
    • disableJMX

      public void disableJMX() throws IllegalStateException
      Specified by:
      disableJMX in interface org.apache.camel.CamelContext
      Throws:
      IllegalStateException
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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

      Specified by:
      isTypeConverterStatisticsEnabled in interface org.apache.camel.CamelContext
    • setTypeConverterStatisticsEnabled

      public void setTypeConverterStatisticsEnabled(Boolean typeConverterStatisticsEnabled)
      Specified by:
      setTypeConverterStatisticsEnabled in interface org.apache.camel.CamelContext
    • 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
    • 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
    • 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

      Specified by:
      isDevConsole in interface org.apache.camel.CamelContext
    • setDevConsole

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

      Specified by:
      isDumpRoutes in interface org.apache.camel.CamelContext
    • setDumpRoutes

      public void setDumpRoutes(Boolean dumpRoutes)
      Specified by:
      setDumpRoutes in interface org.apache.camel.CamelContext
    • 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

      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

      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

      Specified by:
      isUseBreadcrumb in interface org.apache.camel.CamelContext
    • setUseBreadcrumb

      public void setUseBreadcrumb(Boolean useBreadcrumb)
      Specified by:
      setUseBreadcrumb 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
    • 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
    • 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
    • setStartupSummaryLevel

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

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

      public void setStreamCaching(Boolean cache)
      Specified by:
      setStreamCaching in interface org.apache.camel.RuntimeConfiguration
    • 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

      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

      Specified by:
      getTracingLoggingFormat in interface org.apache.camel.CamelContext
    • setTracingLoggingFormat

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

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

      Specified by:
      isBacklogTracing in interface org.apache.camel.RuntimeConfiguration
    • setDebugging

      public void setDebugging(Boolean debugging)
      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

      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
    • setLogExhaustedMessageBody

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

      Specified by:
      isLogExhaustedMessageBody in interface org.apache.camel.RuntimeConfiguration
    • setDelayer

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

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

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

      Specified by:
      isAutoStartup in interface org.apache.camel.RuntimeConfiguration
    • setShutdownRoute

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

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

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

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

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

      Specified by:
      isAllowUseOriginalMessage in interface org.apache.camel.RuntimeConfiguration
    • 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

      Specified by:
      isAutowiredEnabled in interface org.apache.camel.RuntimeConfiguration
    • setAutowiredEnabled

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

      public void removeRouteTemplates(String pattern) throws Exception
      Specified by:
      removeRouteTemplates in interface org.apache.camel.CamelContext
      Throws:
      Exception
    • getCamelContextExtension

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

      protected org.apache.camel.CatalogCamelContext getCatalogCamelContext()
    • getComponentParameterJsonSchema

      Specified by:
      getComponentParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • getDataFormatParameterJsonSchema

      Specified by:
      getDataFormatParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • getLanguageParameterJsonSchema

      Specified by:
      getLanguageParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • getEipParameterJsonSchema

      Specified by:
      getEipParameterJsonSchema in interface org.apache.camel.CatalogCamelContext
      Throws:
      IOException
    • getModelCamelContext

      protected org.apache.camel.model.ModelCamelContext getModelCamelContext()
    • addModelLifecycleStrategy

      public void addModelLifecycleStrategy(org.apache.camel.model.ModelLifecycleStrategy modelLifecycleStrategy)
      Specified by:
      addModelLifecycleStrategy in interface org.apache.camel.model.Model
    • getModelLifecycleStrategies

      public List<org.apache.camel.model.ModelLifecycleStrategy> getModelLifecycleStrategies()
      Specified by:
      getModelLifecycleStrategies in interface org.apache.camel.model.Model
    • addRouteConfiguration

      public void addRouteConfiguration(org.apache.camel.model.RouteConfigurationDefinition routesConfiguration)
      Specified by:
      addRouteConfiguration in interface org.apache.camel.model.Model
    • addRouteConfigurations

      public void addRouteConfigurations(List<org.apache.camel.model.RouteConfigurationDefinition> routesConfigurations)
      Specified by:
      addRouteConfigurations in interface org.apache.camel.model.Model
    • getRouteConfigurationDefinitions

      public List<org.apache.camel.model.RouteConfigurationDefinition> getRouteConfigurationDefinitions()
      Specified by:
      getRouteConfigurationDefinitions in interface org.apache.camel.model.Model
    • removeRouteConfiguration

      public void removeRouteConfiguration(org.apache.camel.model.RouteConfigurationDefinition routeConfigurationDefinition) throws Exception
      Specified by:
      removeRouteConfiguration in interface org.apache.camel.model.Model
      Throws:
      Exception
    • getRouteConfigurationDefinition

      public org.apache.camel.model.RouteConfigurationDefinition getRouteConfigurationDefinition(String id)
      Specified by:
      getRouteConfigurationDefinition in interface org.apache.camel.model.Model
    • getRouteDefinitions

      public List<org.apache.camel.model.RouteDefinition> getRouteDefinitions()
      Specified by:
      getRouteDefinitions in interface org.apache.camel.model.Model
    • getRouteDefinition

      public org.apache.camel.model.RouteDefinition getRouteDefinition(String id)
      Specified by:
      getRouteDefinition in interface org.apache.camel.model.Model
    • addRouteDefinitions

      public void addRouteDefinitions(Collection<org.apache.camel.model.RouteDefinition> routeDefinitions) throws Exception
      Specified by:
      addRouteDefinitions in interface org.apache.camel.model.Model
      Throws:
      Exception
    • addRouteDefinition

      public void addRouteDefinition(org.apache.camel.model.RouteDefinition routeDefinition) throws Exception
      Specified by:
      addRouteDefinition in interface org.apache.camel.model.Model
      Throws:
      Exception
    • removeRouteDefinitions

      public void removeRouteDefinitions(Collection<org.apache.camel.model.RouteDefinition> routeDefinitions) throws Exception
      Specified by:
      removeRouteDefinitions in interface org.apache.camel.model.Model
      Throws:
      Exception
    • removeRouteDefinition

      public void removeRouteDefinition(org.apache.camel.model.RouteDefinition routeDefinition) throws Exception
      Specified by:
      removeRouteDefinition in interface org.apache.camel.model.Model
      Throws:
      Exception
    • getRouteTemplateDefinitions

      public List<org.apache.camel.model.RouteTemplateDefinition> getRouteTemplateDefinitions()
      Specified by:
      getRouteTemplateDefinitions in interface org.apache.camel.model.Model
    • getRouteTemplateDefinition

      public org.apache.camel.model.RouteTemplateDefinition getRouteTemplateDefinition(String id)
      Specified by:
      getRouteTemplateDefinition in interface org.apache.camel.model.Model
    • addRouteTemplateDefinitions

      public void addRouteTemplateDefinitions(Collection<org.apache.camel.model.RouteTemplateDefinition> routeTemplateDefinitions) throws Exception
      Specified by:
      addRouteTemplateDefinitions in interface org.apache.camel.model.Model
      Throws:
      Exception
    • addRouteTemplateDefinition

      public void addRouteTemplateDefinition(org.apache.camel.model.RouteTemplateDefinition routeTemplateDefinition) throws Exception
      Specified by:
      addRouteTemplateDefinition in interface org.apache.camel.model.Model
      Throws:
      Exception
    • removeRouteTemplateDefinitions

      public void removeRouteTemplateDefinitions(Collection<org.apache.camel.model.RouteTemplateDefinition> routeTemplateDefinitions) throws Exception
      Specified by:
      removeRouteTemplateDefinitions in interface org.apache.camel.model.Model
      Throws:
      Exception
    • removeRouteTemplateDefinition

      public void removeRouteTemplateDefinition(org.apache.camel.model.RouteTemplateDefinition routeTemplateDefinition) throws Exception
      Specified by:
      removeRouteTemplateDefinition in interface org.apache.camel.model.Model
      Throws:
      Exception
    • addRouteTemplateDefinitionConverter

      public void addRouteTemplateDefinitionConverter(String templateIdPattern, org.apache.camel.model.RouteTemplateDefinition.Converter converter)
      Specified by:
      addRouteTemplateDefinitionConverter in interface org.apache.camel.model.Model
    • addRouteFromTemplate

      public String addRouteFromTemplate(String routeId, String routeTemplateId, Map<String,Object> parameters) throws Exception
      Specified by:
      addRouteFromTemplate in interface org.apache.camel.CamelContext
      Specified by:
      addRouteFromTemplate in interface org.apache.camel.model.Model
      Throws:
      Exception
    • addRouteFromTemplate

      public String addRouteFromTemplate(String routeId, String routeTemplateId, String prefixId, Map<String,Object> parameters) throws Exception
      Specified by:
      addRouteFromTemplate in interface org.apache.camel.CamelContext
      Specified by:
      addRouteFromTemplate in interface org.apache.camel.model.Model
      Throws:
      Exception
    • addRouteFromTemplate

      public String addRouteFromTemplate(String routeId, String routeTemplateId, org.apache.camel.RouteTemplateContext routeTemplateContext) throws Exception
      Specified by:
      addRouteFromTemplate in interface org.apache.camel.CamelContext
      Specified by:
      addRouteFromTemplate in interface org.apache.camel.model.Model
      Throws:
      Exception
    • addRouteFromTemplate

      public String addRouteFromTemplate(String routeId, String routeTemplateId, String prefixId, org.apache.camel.RouteTemplateContext routeTemplateContext) throws Exception
      Specified by:
      addRouteFromTemplate in interface org.apache.camel.CamelContext
      Specified by:
      addRouteFromTemplate in interface org.apache.camel.model.Model
      Throws:
      Exception
    • addRouteFromTemplatedRoute

      public void addRouteFromTemplatedRoute(org.apache.camel.model.TemplatedRouteDefinition templatedRouteDefinition) throws Exception
      Specified by:
      addRouteFromTemplatedRoute in interface org.apache.camel.model.Model
      Throws:
      Exception
    • removeRouteTemplateDefinitions

      public void removeRouteTemplateDefinitions(String pattern) throws Exception
      Specified by:
      removeRouteTemplateDefinitions in interface org.apache.camel.model.Model
      Throws:
      Exception
    • getRestDefinitions

      public List<org.apache.camel.model.rest.RestDefinition> getRestDefinitions()
      Specified by:
      getRestDefinitions in interface org.apache.camel.model.Model
    • addRestDefinitions

      public void addRestDefinitions(Collection<org.apache.camel.model.rest.RestDefinition> restDefinitions, boolean addToRoutes) throws Exception
      Specified by:
      addRestDefinitions in interface org.apache.camel.model.Model
      Throws:
      Exception
    • setDataFormats

      public void setDataFormats(Map<String,org.apache.camel.model.DataFormatDefinition> dataFormats)
      Specified by:
      setDataFormats in interface org.apache.camel.model.Model
    • getDataFormats

      public Map<String,org.apache.camel.model.DataFormatDefinition> getDataFormats()
      Specified by:
      getDataFormats in interface org.apache.camel.model.Model
    • resolveDataFormatDefinition

      public org.apache.camel.model.DataFormatDefinition resolveDataFormatDefinition(String name)
      Specified by:
      resolveDataFormatDefinition in interface org.apache.camel.model.Model
    • getProcessorDefinition

      public org.apache.camel.model.ProcessorDefinition<?> getProcessorDefinition(String id)
      Specified by:
      getProcessorDefinition in interface org.apache.camel.model.Model
    • getProcessorDefinition

      public <T extends org.apache.camel.model.ProcessorDefinition<T>> T getProcessorDefinition(String id, Class<T> type)
      Specified by:
      getProcessorDefinition in interface org.apache.camel.model.Model
    • setValidators

      public void setValidators(List<org.apache.camel.model.validator.ValidatorDefinition> validators)
      Specified by:
      setValidators in interface org.apache.camel.model.Model
    • getResilience4jConfiguration

      public org.apache.camel.model.Resilience4jConfigurationDefinition getResilience4jConfiguration(String id)
      Specified by:
      getResilience4jConfiguration in interface org.apache.camel.model.Model
    • setResilience4jConfiguration

      public void setResilience4jConfiguration(org.apache.camel.model.Resilience4jConfigurationDefinition configuration)
      Specified by:
      setResilience4jConfiguration in interface org.apache.camel.model.Model
    • setResilience4jConfigurations

      public void setResilience4jConfigurations(List<org.apache.camel.model.Resilience4jConfigurationDefinition> configurations)
      Specified by:
      setResilience4jConfigurations in interface org.apache.camel.model.Model
    • addResilience4jConfiguration

      public void addResilience4jConfiguration(String id, org.apache.camel.model.Resilience4jConfigurationDefinition configuration)
      Specified by:
      addResilience4jConfiguration in interface org.apache.camel.model.Model
    • getFaultToleranceConfiguration

      public org.apache.camel.model.FaultToleranceConfigurationDefinition getFaultToleranceConfiguration(String id)
      Specified by:
      getFaultToleranceConfiguration in interface org.apache.camel.model.Model
    • setFaultToleranceConfiguration

      public void setFaultToleranceConfiguration(org.apache.camel.model.FaultToleranceConfigurationDefinition configuration)
      Specified by:
      setFaultToleranceConfiguration in interface org.apache.camel.model.Model
    • setFaultToleranceConfigurations

      public void setFaultToleranceConfigurations(List<org.apache.camel.model.FaultToleranceConfigurationDefinition> configurations)
      Specified by:
      setFaultToleranceConfigurations in interface org.apache.camel.model.Model
    • addFaultToleranceConfiguration

      public void addFaultToleranceConfiguration(String id, org.apache.camel.model.FaultToleranceConfigurationDefinition configuration)
      Specified by:
      addFaultToleranceConfiguration in interface org.apache.camel.model.Model
    • getValidators

      public List<org.apache.camel.model.validator.ValidatorDefinition> getValidators()
      Specified by:
      getValidators in interface org.apache.camel.model.Model
    • setTransformers

      public void setTransformers(List<org.apache.camel.model.transformer.TransformerDefinition> transformers)
      Specified by:
      setTransformers in interface org.apache.camel.model.Model
    • getTransformers

      public List<org.apache.camel.model.transformer.TransformerDefinition> getTransformers()
      Specified by:
      getTransformers in interface org.apache.camel.model.Model
    • getServiceCallConfiguration

      public org.apache.camel.model.cloud.ServiceCallConfigurationDefinition getServiceCallConfiguration(String serviceName)
      Specified by:
      getServiceCallConfiguration in interface org.apache.camel.model.Model
    • setServiceCallConfiguration

      public void setServiceCallConfiguration(org.apache.camel.model.cloud.ServiceCallConfigurationDefinition configuration)
      Specified by:
      setServiceCallConfiguration in interface org.apache.camel.model.Model
    • setServiceCallConfigurations

      public void setServiceCallConfigurations(List<org.apache.camel.model.cloud.ServiceCallConfigurationDefinition> configurations)
      Specified by:
      setServiceCallConfigurations in interface org.apache.camel.model.Model
    • addServiceCallConfiguration

      public void addServiceCallConfiguration(String serviceName, org.apache.camel.model.cloud.ServiceCallConfigurationDefinition configuration)
      Specified by:
      addServiceCallConfiguration in interface org.apache.camel.model.Model
    • startRouteDefinitions

      public void startRouteDefinitions() throws Exception
      Specified by:
      startRouteDefinitions in interface org.apache.camel.model.ModelCamelContext
      Throws:
      Exception
    • startRouteDefinitions

      public void startRouteDefinitions(List<org.apache.camel.model.RouteDefinition> routeDefinitions) throws Exception
      Specified by:
      startRouteDefinitions in interface org.apache.camel.model.ModelCamelContext
      Throws:
      Exception
    • setRouteFilterPattern

      public void setRouteFilterPattern(String include, String exclude)
      Specified by:
      setRouteFilterPattern in interface org.apache.camel.model.Model
    • setRouteFilter

      public void setRouteFilter(Function<org.apache.camel.model.RouteDefinition,Boolean> filter)
      Specified by:
      setRouteFilter in interface org.apache.camel.model.Model
    • getRouteFilter

      public Function<org.apache.camel.model.RouteDefinition,Boolean> getRouteFilter()
      Specified by:
      getRouteFilter in interface org.apache.camel.model.Model
    • getModelReifierFactory

      public org.apache.camel.spi.ModelReifierFactory getModelReifierFactory()
      Specified by:
      getModelReifierFactory in interface org.apache.camel.model.Model
    • setModelReifierFactory

      public void setModelReifierFactory(org.apache.camel.spi.ModelReifierFactory modelReifierFactory)
      Specified by:
      setModelReifierFactory in interface org.apache.camel.model.Model
    • createExpression

      public org.apache.camel.Expression createExpression(org.apache.camel.model.language.ExpressionDefinition definition)
      Specified by:
      createExpression in interface org.apache.camel.model.ModelCamelContext
    • createPredicate

      public org.apache.camel.Predicate createPredicate(org.apache.camel.model.language.ExpressionDefinition definition)
      Specified by:
      createPredicate in interface org.apache.camel.model.ModelCamelContext
    • registerValidator

      public void registerValidator(org.apache.camel.model.validator.ValidatorDefinition validator)
      Specified by:
      registerValidator in interface org.apache.camel.model.ModelCamelContext
    • registerTransformer

      public void registerTransformer(org.apache.camel.model.transformer.TransformerDefinition transformer)
      Specified by:
      registerTransformer in interface org.apache.camel.model.ModelCamelContext
    • init

      public void init()
      Specified by:
      init in interface org.apache.camel.CamelContextLifecycle
    • startImmutable

      public void startImmutable()