Package org.apache.camel.cdi.xml
Class CamelContextFactoryBean
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
- org.apache.camel.cdi.xml.CamelContextFactoryBean
-
- All Implemented Interfaces:
BeanManagerAware
,org.apache.camel.model.rest.RestContainer
,org.apache.camel.model.RouteConfigurationContainer
,org.apache.camel.model.RouteContainer
,org.apache.camel.model.RouteTemplateContainer
public class CamelContextFactoryBean extends org.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext> implements BeanManagerAware
-
-
Constructor Summary
Constructors Constructor Description CamelContextFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
protected void
findRouteBuildersByContextScan(org.apache.camel.spi.PackageScanFilter filter, boolean includeNonSingletons, List<org.apache.camel.RoutesBuilder> builders)
protected void
findRouteBuildersByPackageScan(String[] packages, org.apache.camel.spi.PackageScanFilter filter, List<org.apache.camel.RoutesBuilder> builders)
String
getAllowUseOriginalMessage()
String
getAutoStartup()
String
getAutowiredEnabled()
String
getBacklogTrace()
protected <S> S
getBeanForType(Class<S> clazz)
String
getBeanPostProcessorEnabled()
List<?>
getBeans()
List<org.apache.camel.core.xml.AbstractCamelFactoryBean<?>>
getBeansFactory()
List<org.apache.camel.model.RouteBuilderDefinition>
getBuilderRefs()
org.apache.camel.core.xml.CamelJMXAgentDefinition
getCamelJMXAgent()
org.apache.camel.core.xml.CamelPropertyPlaceholderDefinition
getCamelPropertyPlaceholder()
org.apache.camel.core.xml.CamelRouteControllerDefinition
getCamelRouteController()
org.apache.camel.core.xml.CamelStreamCachingStrategyDefinition
getCamelStreamCachingStrategy()
String
getCaseInsensitiveHeaders()
org.apache.camel.impl.DefaultCamelContext
getContext()
org.apache.camel.impl.DefaultCamelContext
getContext(boolean create)
org.apache.camel.model.ContextScanDefinition
getContextScan()
org.apache.camel.model.dataformat.DataFormatsDefinition
getDataFormats()
String
getDebug()
org.apache.camel.model.FaultToleranceConfigurationDefinition
getDefaultFaultToleranceConfiguration()
org.apache.camel.model.HystrixConfigurationDefinition
getDefaultHystrixConfiguration()
org.apache.camel.model.Resilience4jConfigurationDefinition
getDefaultResilience4jConfiguration()
org.apache.camel.model.cloud.ServiceCallConfigurationDefinition
getDefaultServiceCallConfiguration()
String
getDelayer()
String
getDependsOn()
String
getDumpRoutes()
List<EndpointFactoryBean>
getEndpoints()
String
getErrorHandlerRef()
List<ErrorHandlerDefinition>
getErrorHandlers()
List<org.apache.camel.core.xml.CamelServiceExporterDefinition>
getExports()
List<org.apache.camel.model.FaultToleranceConfigurationDefinition>
getFaultToleranceConfigurations()
org.apache.camel.model.GlobalOptionsDefinition
getGlobalOptions()
List<org.apache.camel.model.HystrixConfigurationDefinition>
getHystrixConfigurations()
String
getInflightRepositoryBrowseEnabled()
List<org.apache.camel.model.InterceptFromDefinition>
getInterceptFroms()
List<org.apache.camel.model.InterceptDefinition>
getIntercepts()
List<org.apache.camel.model.InterceptSendToEndpointDefinition>
getInterceptSendToEndpoints()
String
getLoadHealthChecks()
String
getLoadTypeConverters()
String
getLogExhaustedMessageBody()
String
getLogMask()
String
getManagementNamePattern()
String
getMdcLoggingKeysPattern()
String
getMDCLoggingKeysPattern()
String
getMessageHistory()
Class<org.apache.camel.impl.DefaultCamelContext>
getObjectType()
List<org.apache.camel.model.OnCompletionDefinition>
getOnCompletions()
List<org.apache.camel.model.OnExceptionDefinition>
getOnExceptions()
String[]
getPackages()
org.apache.camel.model.PackageScanDefinition
getPackageScan()
List<RedeliveryPolicyFactoryBean>
getRedeliveryPolicies()
List<org.apache.camel.model.Resilience4jConfigurationDefinition>
getResilience4jConfigurations()
org.apache.camel.model.rest.RestConfigurationDefinition
getRestConfiguration()
List<org.apache.camel.model.RestContextRefDefinition>
getRestRefs()
List<org.apache.camel.model.rest.RestDefinition>
getRests()
List<org.apache.camel.model.RouteConfigurationContextRefDefinition>
getRouteConfigurationRefs()
List<org.apache.camel.model.RouteConfigurationDefinition>
getRouteConfigurations()
List<org.apache.camel.model.RouteContextRefDefinition>
getRouteRefs()
List<org.apache.camel.model.RouteDefinition>
getRoutes()
List<org.apache.camel.model.RouteTemplateContextRefDefinition>
getRouteTemplateRefs()
List<org.apache.camel.model.RouteTemplateDefinition>
getRouteTemplates()
String
getRuntimeEndpointRegistryEnabled()
List<org.apache.camel.model.cloud.ServiceCallConfigurationDefinition>
getServiceCallConfigurations()
String
getShutdownEager()
org.apache.camel.ShutdownRoute
getShutdownRoute()
org.apache.camel.ShutdownRunningTask
getShutdownRunningTask()
org.apache.camel.StartupSummaryLevel
getStartupSummaryLevel()
String
getStreamCache()
String
getThreadNamePattern()
List<org.apache.camel.model.ThreadPoolProfileDefinition>
getThreadPoolProfiles()
String
getTrace()
String
getTracePattern()
org.apache.camel.model.transformer.TransformersDefinition
getTransformers()
org.apache.camel.TypeConverterExists
getTypeConverterExists()
org.apache.camel.LoggingLevel
getTypeConverterExistsLoggingLevel()
String
getTypeConverterStatisticsEnabled()
String
getUseBreadcrumb()
String
getUseDataType()
String
getUseMDCLogging()
org.apache.camel.model.validator.ValidatorsDefinition
getValidators()
protected void
initBeanPostProcessor(org.apache.camel.impl.DefaultCamelContext context)
protected void
initCustomRegistry(org.apache.camel.impl.DefaultCamelContext context)
boolean
isImplicitId()
protected void
postProcessBeforeInit(org.apache.camel.builder.RouteBuilder builder)
void
setAllowUseOriginalMessage(String allowUseOriginalMessage)
void
setAutoStartup(String autoStartup)
void
setAutowiredEnabled(String autowiredEnabled)
void
setBacklogTrace(String backlogTrace)
Sets whether backlog tracing is enabled or not.void
setBeanManager(javax.enterprise.inject.spi.BeanManager manager)
void
setBeanPostProcessorEnabled(String beanPostProcessorEnabled)
void
setBeans(List<?> beans)
void
setBeansFactory(List<org.apache.camel.core.xml.AbstractCamelFactoryBean<?>> beansFactory)
void
setBuilderRefs(List<org.apache.camel.model.RouteBuilderDefinition> builderRefs)
void
setCamelJMXAgent(org.apache.camel.core.xml.CamelJMXAgentDefinition agent)
void
setCamelPropertyPlaceholder(org.apache.camel.core.xml.CamelPropertyPlaceholderDefinition camelPropertyPlaceholder)
void
setCamelRouteController(org.apache.camel.core.xml.CamelRouteControllerDefinition camelRouteController)
void
setCamelStreamCachingStrategy(org.apache.camel.core.xml.CamelStreamCachingStrategyDefinition camelStreamCachingStrategy)
void
setCaseInsensitiveHeaders(String caseInsensitiveHeaders)
void
setContext(org.apache.camel.impl.DefaultCamelContext context)
void
setContextScan(org.apache.camel.model.ContextScanDefinition contextScan)
Sets the context scanning information.void
setDataFormats(org.apache.camel.model.dataformat.DataFormatsDefinition dataFormats)
void
setDebug(String debug)
Sets whether debugging is enabled or not.void
setDefaultFaultToleranceConfiguration(org.apache.camel.model.FaultToleranceConfigurationDefinition defaultFaultToleranceConfiguration)
void
setDefaultHystrixConfiguration(org.apache.camel.model.HystrixConfigurationDefinition defaultHystrixConfiguration)
void
setDefaultResilience4jConfiguration(org.apache.camel.model.Resilience4jConfigurationDefinition defaultResilience4jConfiguration)
void
setDefaultServiceCallConfiguration(org.apache.camel.model.cloud.ServiceCallConfigurationDefinition defaultServiceCallConfiguration)
void
setDelayer(String delayer)
void
setDependsOn(String dependsOn)
void
setDumpRoutes(String dumpRoutes)
void
setEndpoints(List<EndpointFactoryBean> endpoints)
void
setErrorHandlerRef(String errorHandlerRef)
void
setErrorHandlers(List<ErrorHandlerDefinition> errorHandlers)
void
setExports(List<org.apache.camel.core.xml.CamelServiceExporterDefinition> exports)
void
setFaultToleranceConfigurations(List<org.apache.camel.model.FaultToleranceConfigurationDefinition> faultToleranceConfigurations)
void
setGlobalOptions(org.apache.camel.model.GlobalOptionsDefinition globalOptions)
void
setHystrixConfigurations(List<org.apache.camel.model.HystrixConfigurationDefinition> hystrixConfigurations)
void
setImplicitId(boolean implicitId)
void
setInflightRepositoryBrowseEnabled(String inflightRepositoryBrowseEnabled)
void
setInterceptFroms(List<org.apache.camel.model.InterceptFromDefinition> interceptFroms)
void
setIntercepts(List<org.apache.camel.model.InterceptDefinition> intercepts)
void
setInterceptSendToEndpoints(List<org.apache.camel.model.InterceptSendToEndpointDefinition> interceptSendToEndpoints)
void
setLoadHealthChecks(String loadHealthChecks)
void
setLoadTypeConverters(String loadTypeConverters)
void
setLogExhaustedMessageBody(String logExhaustedMessageBody)
void
setLogMask(String logMask)
void
setManagementNamePattern(String managementNamePattern)
void
setMdcLoggingKeysPattern(String mdcLoggingKeysPattern)
void
setMessageHistory(String messageHistory)
void
setOnCompletions(List<org.apache.camel.model.OnCompletionDefinition> onCompletions)
void
setOnExceptions(List<org.apache.camel.model.OnExceptionDefinition> onExceptions)
void
setPackages(String[] packages)
Sets the package names to be recursively searched for Java classes which extendRouteBuilder
to be auto-wired up to theCamelContext
as a route.void
setPackageScan(org.apache.camel.model.PackageScanDefinition packageScan)
Sets the package scanning information.void
setRedeliveryPolicies(List<RedeliveryPolicyFactoryBean> redeliveryPolicies)
void
setResilience4jConfigurations(List<org.apache.camel.model.Resilience4jConfigurationDefinition> resilience4jConfigurations)
void
setRestConfiguration(org.apache.camel.model.rest.RestConfigurationDefinition restConfiguration)
void
setRestRefs(List<org.apache.camel.model.RestContextRefDefinition> restRefs)
void
setRests(List<org.apache.camel.model.rest.RestDefinition> rests)
void
setRouteConfigurationRefs(List<org.apache.camel.model.RouteConfigurationContextRefDefinition> routeConfigurationRefs)
void
setRouteConfigurations(List<org.apache.camel.model.RouteConfigurationDefinition> routeConfigurations)
void
setRouteRefs(List<org.apache.camel.model.RouteContextRefDefinition> routeRefs)
void
setRoutes(List<org.apache.camel.model.RouteDefinition> routes)
void
setRouteTemplateRefs(List<org.apache.camel.model.RouteTemplateContextRefDefinition> routeTemplateRefs)
void
setRouteTemplates(List<org.apache.camel.model.RouteTemplateDefinition> routeTemplates)
void
setRuntimeEndpointRegistryEnabled(String runtimeEndpointRegistryEnabled)
void
setServiceCallConfigurations(List<org.apache.camel.model.cloud.ServiceCallConfigurationDefinition> serviceCallConfigurations)
void
setShutdownEager(String shutdownEager)
void
setShutdownRoute(org.apache.camel.ShutdownRoute shutdownRoute)
void
setShutdownRunningTask(org.apache.camel.ShutdownRunningTask shutdownRunningTask)
void
setStartupSummaryLevel(org.apache.camel.StartupSummaryLevel startupSummaryLevel)
void
setStreamCache(String streamCache)
void
setThreadNamePattern(String threadNamePattern)
void
setThreadPoolProfiles(List<org.apache.camel.model.ThreadPoolProfileDefinition> threadPoolProfiles)
void
setTrace(String trace)
void
setTracePattern(String tracePattern)
void
setTransformers(org.apache.camel.model.transformer.TransformersDefinition transformers)
void
setTypeConverterExists(org.apache.camel.TypeConverterExists typeConverterExists)
void
setTypeConverterExistsLoggingLevel(org.apache.camel.LoggingLevel typeConverterExistsLoggingLevel)
void
setTypeConverterStatisticsEnabled(String typeConverterStatisticsEnabled)
void
setUseBreadcrumb(String useBreadcrumb)
void
setUseDataType(String useDataType)
void
setUseMDCLogging(String useMDCLogging)
void
setValidators(org.apache.camel.model.validator.ValidatorsDefinition validators)
-
Methods inherited from class org.apache.camel.core.xml.AbstractCamelContextFactoryBean
destroy, findRouteBuilders, getContextClassLoaderOnStart, getObject, initCamelContext, initJMXAgent, initPropertyPlaceholder, initRestRefs, initRouteConfigurationRefs, initRouteController, initRouteRefs, initRouteTemplateRefs, initStreamCachingStrategy, initThreadPoolProfiles, installRoutes, isSingleton, setupRoutes
-
-
-
-
Method Detail
-
getObjectType
public Class<org.apache.camel.impl.DefaultCamelContext> getObjectType()
- Specified by:
getObjectType
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setBeanManager
public void setBeanManager(javax.enterprise.inject.spi.BeanManager manager)
- Specified by:
setBeanManager
in interfaceBeanManagerAware
-
getBeanForType
protected <S> S getBeanForType(Class<S> clazz)
- Specified by:
getBeanForType
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
findRouteBuildersByPackageScan
protected void findRouteBuildersByPackageScan(String[] packages, org.apache.camel.spi.PackageScanFilter filter, List<org.apache.camel.RoutesBuilder> builders) throws Exception
- Specified by:
findRouteBuildersByPackageScan
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
- Throws:
Exception
-
findRouteBuildersByContextScan
protected void findRouteBuildersByContextScan(org.apache.camel.spi.PackageScanFilter filter, boolean includeNonSingletons, List<org.apache.camel.RoutesBuilder> builders) throws Exception
- Specified by:
findRouteBuildersByContextScan
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
- Throws:
Exception
-
initBeanPostProcessor
protected void initBeanPostProcessor(org.apache.camel.impl.DefaultCamelContext context)
- Specified by:
initBeanPostProcessor
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
postProcessBeforeInit
protected void postProcessBeforeInit(org.apache.camel.builder.RouteBuilder builder)
- Specified by:
postProcessBeforeInit
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
initCustomRegistry
protected void initCustomRegistry(org.apache.camel.impl.DefaultCamelContext context)
- Specified by:
initCustomRegistry
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Overrides:
afterPropertiesSet
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
- Throws:
Exception
-
getContext
public org.apache.camel.impl.DefaultCamelContext getContext()
- Overrides:
getContext
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setContext
public void setContext(org.apache.camel.impl.DefaultCamelContext context)
-
getContext
public org.apache.camel.impl.DefaultCamelContext getContext(boolean create)
- Specified by:
getContext
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
getBeansFactory
public List<org.apache.camel.core.xml.AbstractCamelFactoryBean<?>> getBeansFactory()
- Specified by:
getBeansFactory
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setBeansFactory
public void setBeansFactory(List<org.apache.camel.core.xml.AbstractCamelFactoryBean<?>> beansFactory)
-
getBeans
public List<?> getBeans()
- Specified by:
getBeans
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setBeans
public void setBeans(List<?> beans)
-
getDefaultServiceCallConfiguration
public org.apache.camel.model.cloud.ServiceCallConfigurationDefinition getDefaultServiceCallConfiguration()
- Specified by:
getDefaultServiceCallConfiguration
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setDefaultServiceCallConfiguration
public void setDefaultServiceCallConfiguration(org.apache.camel.model.cloud.ServiceCallConfigurationDefinition defaultServiceCallConfiguration)
-
getServiceCallConfigurations
public List<org.apache.camel.model.cloud.ServiceCallConfigurationDefinition> getServiceCallConfigurations()
- Specified by:
getServiceCallConfigurations
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setServiceCallConfigurations
public void setServiceCallConfigurations(List<org.apache.camel.model.cloud.ServiceCallConfigurationDefinition> serviceCallConfigurations)
-
getDefaultHystrixConfiguration
public org.apache.camel.model.HystrixConfigurationDefinition getDefaultHystrixConfiguration()
- Specified by:
getDefaultHystrixConfiguration
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setDefaultHystrixConfiguration
public void setDefaultHystrixConfiguration(org.apache.camel.model.HystrixConfigurationDefinition defaultHystrixConfiguration)
-
getHystrixConfigurations
public List<org.apache.camel.model.HystrixConfigurationDefinition> getHystrixConfigurations()
- Specified by:
getHystrixConfigurations
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setHystrixConfigurations
public void setHystrixConfigurations(List<org.apache.camel.model.HystrixConfigurationDefinition> hystrixConfigurations)
-
getDefaultResilience4jConfiguration
public org.apache.camel.model.Resilience4jConfigurationDefinition getDefaultResilience4jConfiguration()
- Specified by:
getDefaultResilience4jConfiguration
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setDefaultResilience4jConfiguration
public void setDefaultResilience4jConfiguration(org.apache.camel.model.Resilience4jConfigurationDefinition defaultResilience4jConfiguration)
-
getResilience4jConfigurations
public List<org.apache.camel.model.Resilience4jConfigurationDefinition> getResilience4jConfigurations()
- Specified by:
getResilience4jConfigurations
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setResilience4jConfigurations
public void setResilience4jConfigurations(List<org.apache.camel.model.Resilience4jConfigurationDefinition> resilience4jConfigurations)
-
getDefaultFaultToleranceConfiguration
public org.apache.camel.model.FaultToleranceConfigurationDefinition getDefaultFaultToleranceConfiguration()
- Specified by:
getDefaultFaultToleranceConfiguration
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setDefaultFaultToleranceConfiguration
public void setDefaultFaultToleranceConfiguration(org.apache.camel.model.FaultToleranceConfigurationDefinition defaultFaultToleranceConfiguration)
-
getFaultToleranceConfigurations
public List<org.apache.camel.model.FaultToleranceConfigurationDefinition> getFaultToleranceConfigurations()
- Specified by:
getFaultToleranceConfigurations
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setFaultToleranceConfigurations
public void setFaultToleranceConfigurations(List<org.apache.camel.model.FaultToleranceConfigurationDefinition> faultToleranceConfigurations)
-
getRoutes
public List<org.apache.camel.model.RouteDefinition> getRoutes()
- Specified by:
getRoutes
in interfaceorg.apache.camel.model.RouteContainer
- Specified by:
getRoutes
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRoutes
public void setRoutes(List<org.apache.camel.model.RouteDefinition> routes)
- Specified by:
setRoutes
in interfaceorg.apache.camel.model.RouteContainer
-
getRouteConfigurations
public List<org.apache.camel.model.RouteConfigurationDefinition> getRouteConfigurations()
- Specified by:
getRouteConfigurations
in interfaceorg.apache.camel.model.RouteConfigurationContainer
- Specified by:
getRouteConfigurations
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRouteConfigurations
public void setRouteConfigurations(List<org.apache.camel.model.RouteConfigurationDefinition> routeConfigurations)
- Specified by:
setRouteConfigurations
in interfaceorg.apache.camel.model.RouteConfigurationContainer
-
getRouteTemplates
public List<org.apache.camel.model.RouteTemplateDefinition> getRouteTemplates()
- Specified by:
getRouteTemplates
in interfaceorg.apache.camel.model.RouteTemplateContainer
- Specified by:
getRouteTemplates
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRouteTemplates
public void setRouteTemplates(List<org.apache.camel.model.RouteTemplateDefinition> routeTemplates)
- Specified by:
setRouteTemplates
in interfaceorg.apache.camel.model.RouteTemplateContainer
-
getRests
public List<org.apache.camel.model.rest.RestDefinition> getRests()
- Specified by:
getRests
in interfaceorg.apache.camel.model.rest.RestContainer
- Specified by:
getRests
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRests
public void setRests(List<org.apache.camel.model.rest.RestDefinition> rests)
- Specified by:
setRests
in interfaceorg.apache.camel.model.rest.RestContainer
-
getRestConfiguration
public org.apache.camel.model.rest.RestConfigurationDefinition getRestConfiguration()
- Specified by:
getRestConfiguration
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRestConfiguration
public void setRestConfiguration(org.apache.camel.model.rest.RestConfigurationDefinition restConfiguration)
-
getEndpoints
public List<EndpointFactoryBean> getEndpoints()
- Specified by:
getEndpoints
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setEndpoints
public void setEndpoints(List<EndpointFactoryBean> endpoints)
-
getRedeliveryPolicies
public List<RedeliveryPolicyFactoryBean> getRedeliveryPolicies()
- Specified by:
getRedeliveryPolicies
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRedeliveryPolicies
public void setRedeliveryPolicies(List<RedeliveryPolicyFactoryBean> redeliveryPolicies)
-
getIntercepts
public List<org.apache.camel.model.InterceptDefinition> getIntercepts()
- Specified by:
getIntercepts
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setIntercepts
public void setIntercepts(List<org.apache.camel.model.InterceptDefinition> intercepts)
-
getInterceptFroms
public List<org.apache.camel.model.InterceptFromDefinition> getInterceptFroms()
- Specified by:
getInterceptFroms
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setInterceptFroms
public void setInterceptFroms(List<org.apache.camel.model.InterceptFromDefinition> interceptFroms)
-
getInterceptSendToEndpoints
public List<org.apache.camel.model.InterceptSendToEndpointDefinition> getInterceptSendToEndpoints()
- Specified by:
getInterceptSendToEndpoints
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setInterceptSendToEndpoints
public void setInterceptSendToEndpoints(List<org.apache.camel.model.InterceptSendToEndpointDefinition> interceptSendToEndpoints)
-
getGlobalOptions
public org.apache.camel.model.GlobalOptionsDefinition getGlobalOptions()
- Specified by:
getGlobalOptions
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setGlobalOptions
public void setGlobalOptions(org.apache.camel.model.GlobalOptionsDefinition globalOptions)
-
getPackages
public String[] getPackages()
- Specified by:
getPackages
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setPackages
public void setPackages(String[] packages)
Sets the package names to be recursively searched for Java classes which extendRouteBuilder
to be auto-wired up to theCamelContext
as a route. Note that classes are excluded if they are specifically configured in the deployment. A more advanced configuration can be done usingsetPackageScan(org.apache.camel.model.PackageScanDefinition)
- Parameters:
packages
- the package names which are recursively searched- See Also:
setPackageScan(org.apache.camel.model.PackageScanDefinition)
-
getPackageScan
public org.apache.camel.model.PackageScanDefinition getPackageScan()
- Specified by:
getPackageScan
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setPackageScan
public void setPackageScan(org.apache.camel.model.PackageScanDefinition packageScan)
Sets the package scanning information. Package scanning allows for the automatic discovery of certain camel classes at runtime for inclusion e.g.RouteBuilder
implementations- Specified by:
setPackageScan
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
- Parameters:
packageScan
- the package scan
-
getContextScan
public org.apache.camel.model.ContextScanDefinition getContextScan()
- Specified by:
getContextScan
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setContextScan
public void setContextScan(org.apache.camel.model.ContextScanDefinition contextScan)
Sets the context scanning information. Context scanning allows for the automatic discovery of Camel routes runtime for inclusion e.g.RouteBuilder
implementations- Specified by:
setContextScan
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
- Parameters:
contextScan
- the context scan
-
getCamelPropertyPlaceholder
public org.apache.camel.core.xml.CamelPropertyPlaceholderDefinition getCamelPropertyPlaceholder()
- Specified by:
getCamelPropertyPlaceholder
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setCamelPropertyPlaceholder
public void setCamelPropertyPlaceholder(org.apache.camel.core.xml.CamelPropertyPlaceholderDefinition camelPropertyPlaceholder)
-
getCamelStreamCachingStrategy
public org.apache.camel.core.xml.CamelStreamCachingStrategyDefinition getCamelStreamCachingStrategy()
- Specified by:
getCamelStreamCachingStrategy
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setCamelStreamCachingStrategy
public void setCamelStreamCachingStrategy(org.apache.camel.core.xml.CamelStreamCachingStrategyDefinition camelStreamCachingStrategy)
-
getCamelRouteController
public org.apache.camel.core.xml.CamelRouteControllerDefinition getCamelRouteController()
- Specified by:
getCamelRouteController
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setCamelRouteController
public void setCamelRouteController(org.apache.camel.core.xml.CamelRouteControllerDefinition camelRouteController)
-
getStartupSummaryLevel
public org.apache.camel.StartupSummaryLevel getStartupSummaryLevel()
- Specified by:
getStartupSummaryLevel
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setStartupSummaryLevel
public void setStartupSummaryLevel(org.apache.camel.StartupSummaryLevel startupSummaryLevel)
-
getTrace
public String getTrace()
- Specified by:
getTrace
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setTrace
public void setTrace(String trace)
-
getBacklogTrace
public String getBacklogTrace()
- Specified by:
getBacklogTrace
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setBacklogTrace
public void setBacklogTrace(String backlogTrace)
Sets whether backlog tracing is enabled or not.
-
getTracePattern
public String getTracePattern()
- Specified by:
getTracePattern
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setTracePattern
public void setTracePattern(String tracePattern)
-
getDebug
public String getDebug()
- Specified by:
getDebug
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setDebug
public void setDebug(String debug)
Sets whether debugging is enabled or not.
-
getMessageHistory
public String getMessageHistory()
- Specified by:
getMessageHistory
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setMessageHistory
public void setMessageHistory(String messageHistory)
-
getLogMask
public String getLogMask()
- Specified by:
getLogMask
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setLogMask
public void setLogMask(String logMask)
-
getLogExhaustedMessageBody
public String getLogExhaustedMessageBody()
- Specified by:
getLogExhaustedMessageBody
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setLogExhaustedMessageBody
public void setLogExhaustedMessageBody(String logExhaustedMessageBody)
-
getStreamCache
public String getStreamCache()
- Specified by:
getStreamCache
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setStreamCache
public void setStreamCache(String streamCache)
-
getDelayer
public String getDelayer()
- Specified by:
getDelayer
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setDelayer
public void setDelayer(String delayer)
-
getAutoStartup
public String getAutoStartup()
- Specified by:
getAutoStartup
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setAutoStartup
public void setAutoStartup(String autoStartup)
-
getShutdownEager
public String getShutdownEager()
-
setShutdownEager
public void setShutdownEager(String shutdownEager)
-
getDumpRoutes
public String getDumpRoutes()
- Specified by:
getDumpRoutes
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setDumpRoutes
public void setDumpRoutes(String dumpRoutes)
-
getUseMDCLogging
public String getUseMDCLogging()
- Specified by:
getUseMDCLogging
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setUseMDCLogging
public void setUseMDCLogging(String useMDCLogging)
-
getUseDataType
public String getUseDataType()
- Specified by:
getUseDataType
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setUseDataType
public void setUseDataType(String useDataType)
-
getUseBreadcrumb
public String getUseBreadcrumb()
- Specified by:
getUseBreadcrumb
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setUseBreadcrumb
public void setUseBreadcrumb(String useBreadcrumb)
-
getBeanPostProcessorEnabled
public String getBeanPostProcessorEnabled()
- Specified by:
getBeanPostProcessorEnabled
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setBeanPostProcessorEnabled
public void setBeanPostProcessorEnabled(String beanPostProcessorEnabled)
-
getAllowUseOriginalMessage
public String getAllowUseOriginalMessage()
- Specified by:
getAllowUseOriginalMessage
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setAllowUseOriginalMessage
public void setAllowUseOriginalMessage(String allowUseOriginalMessage)
-
getCaseInsensitiveHeaders
public String getCaseInsensitiveHeaders()
- Specified by:
getCaseInsensitiveHeaders
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setCaseInsensitiveHeaders
public void setCaseInsensitiveHeaders(String caseInsensitiveHeaders)
-
getAutowiredEnabled
public String getAutowiredEnabled()
- Specified by:
getAutowiredEnabled
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setAutowiredEnabled
public void setAutowiredEnabled(String autowiredEnabled)
-
getRuntimeEndpointRegistryEnabled
public String getRuntimeEndpointRegistryEnabled()
- Specified by:
getRuntimeEndpointRegistryEnabled
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRuntimeEndpointRegistryEnabled
public void setRuntimeEndpointRegistryEnabled(String runtimeEndpointRegistryEnabled)
-
getManagementNamePattern
public String getManagementNamePattern()
- Specified by:
getManagementNamePattern
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setManagementNamePattern
public void setManagementNamePattern(String managementNamePattern)
-
getThreadNamePattern
public String getThreadNamePattern()
- Specified by:
getThreadNamePattern
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setThreadNamePattern
public void setThreadNamePattern(String threadNamePattern)
-
getLoadTypeConverters
public String getLoadTypeConverters()
- Specified by:
getLoadTypeConverters
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setLoadTypeConverters
public void setLoadTypeConverters(String loadTypeConverters)
-
getTypeConverterStatisticsEnabled
public String getTypeConverterStatisticsEnabled()
- Specified by:
getTypeConverterStatisticsEnabled
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setTypeConverterStatisticsEnabled
public void setTypeConverterStatisticsEnabled(String typeConverterStatisticsEnabled)
-
getLoadHealthChecks
public String getLoadHealthChecks()
- Specified by:
getLoadHealthChecks
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setLoadHealthChecks
public void setLoadHealthChecks(String loadHealthChecks)
-
getInflightRepositoryBrowseEnabled
public String getInflightRepositoryBrowseEnabled()
- Specified by:
getInflightRepositoryBrowseEnabled
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setInflightRepositoryBrowseEnabled
public void setInflightRepositoryBrowseEnabled(String inflightRepositoryBrowseEnabled)
-
getTypeConverterExists
public org.apache.camel.TypeConverterExists getTypeConverterExists()
- Specified by:
getTypeConverterExists
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setTypeConverterExists
public void setTypeConverterExists(org.apache.camel.TypeConverterExists typeConverterExists)
-
getTypeConverterExistsLoggingLevel
public org.apache.camel.LoggingLevel getTypeConverterExistsLoggingLevel()
- Specified by:
getTypeConverterExistsLoggingLevel
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setTypeConverterExistsLoggingLevel
public void setTypeConverterExistsLoggingLevel(org.apache.camel.LoggingLevel typeConverterExistsLoggingLevel)
-
getCamelJMXAgent
public org.apache.camel.core.xml.CamelJMXAgentDefinition getCamelJMXAgent()
- Specified by:
getCamelJMXAgent
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setCamelJMXAgent
public void setCamelJMXAgent(org.apache.camel.core.xml.CamelJMXAgentDefinition agent)
-
getRouteConfigurationRefs
public List<org.apache.camel.model.RouteConfigurationContextRefDefinition> getRouteConfigurationRefs()
- Specified by:
getRouteConfigurationRefs
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRouteConfigurationRefs
public void setRouteConfigurationRefs(List<org.apache.camel.model.RouteConfigurationContextRefDefinition> routeConfigurationRefs)
-
getRouteTemplateRefs
public List<org.apache.camel.model.RouteTemplateContextRefDefinition> getRouteTemplateRefs()
- Specified by:
getRouteTemplateRefs
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRouteTemplateRefs
public void setRouteTemplateRefs(List<org.apache.camel.model.RouteTemplateContextRefDefinition> routeTemplateRefs)
-
getBuilderRefs
public List<org.apache.camel.model.RouteBuilderDefinition> getBuilderRefs()
- Specified by:
getBuilderRefs
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setBuilderRefs
public void setBuilderRefs(List<org.apache.camel.model.RouteBuilderDefinition> builderRefs)
-
getRouteRefs
public List<org.apache.camel.model.RouteContextRefDefinition> getRouteRefs()
- Specified by:
getRouteRefs
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRouteRefs
public void setRouteRefs(List<org.apache.camel.model.RouteContextRefDefinition> routeRefs)
-
getRestRefs
public List<org.apache.camel.model.RestContextRefDefinition> getRestRefs()
- Specified by:
getRestRefs
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setRestRefs
public void setRestRefs(List<org.apache.camel.model.RestContextRefDefinition> restRefs)
-
getErrorHandlerRef
public String getErrorHandlerRef()
- Specified by:
getErrorHandlerRef
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setErrorHandlerRef
public void setErrorHandlerRef(String errorHandlerRef)
-
getDataFormats
public org.apache.camel.model.dataformat.DataFormatsDefinition getDataFormats()
- Specified by:
getDataFormats
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setDataFormats
public void setDataFormats(org.apache.camel.model.dataformat.DataFormatsDefinition dataFormats)
-
getTransformers
public org.apache.camel.model.transformer.TransformersDefinition getTransformers()
- Specified by:
getTransformers
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setTransformers
public void setTransformers(org.apache.camel.model.transformer.TransformersDefinition transformers)
-
getValidators
public org.apache.camel.model.validator.ValidatorsDefinition getValidators()
- Specified by:
getValidators
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setValidators
public void setValidators(org.apache.camel.model.validator.ValidatorsDefinition validators)
-
getOnExceptions
public List<org.apache.camel.model.OnExceptionDefinition> getOnExceptions()
- Specified by:
getOnExceptions
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setOnExceptions
public void setOnExceptions(List<org.apache.camel.model.OnExceptionDefinition> onExceptions)
-
getOnCompletions
public List<org.apache.camel.model.OnCompletionDefinition> getOnCompletions()
- Specified by:
getOnCompletions
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setOnCompletions
public void setOnCompletions(List<org.apache.camel.model.OnCompletionDefinition> onCompletions)
-
getShutdownRoute
public org.apache.camel.ShutdownRoute getShutdownRoute()
- Specified by:
getShutdownRoute
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setShutdownRoute
public void setShutdownRoute(org.apache.camel.ShutdownRoute shutdownRoute)
-
getShutdownRunningTask
public org.apache.camel.ShutdownRunningTask getShutdownRunningTask()
- Specified by:
getShutdownRunningTask
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setShutdownRunningTask
public void setShutdownRunningTask(org.apache.camel.ShutdownRunningTask shutdownRunningTask)
-
getThreadPoolProfiles
public List<org.apache.camel.model.ThreadPoolProfileDefinition> getThreadPoolProfiles()
- Specified by:
getThreadPoolProfiles
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setThreadPoolProfiles
public void setThreadPoolProfiles(List<org.apache.camel.model.ThreadPoolProfileDefinition> threadPoolProfiles)
-
getDependsOn
public String getDependsOn()
- Specified by:
getDependsOn
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
setDependsOn
public void setDependsOn(String dependsOn)
-
getExports
public List<org.apache.camel.core.xml.CamelServiceExporterDefinition> getExports()
-
setExports
public void setExports(List<org.apache.camel.core.xml.CamelServiceExporterDefinition> exports)
-
isImplicitId
public boolean isImplicitId()
-
setImplicitId
public void setImplicitId(boolean implicitId)
-
getErrorHandlers
public List<ErrorHandlerDefinition> getErrorHandlers()
-
setErrorHandlers
public void setErrorHandlers(List<ErrorHandlerDefinition> errorHandlers)
-
getMdcLoggingKeysPattern
public String getMdcLoggingKeysPattern()
-
setMdcLoggingKeysPattern
public void setMdcLoggingKeysPattern(String mdcLoggingKeysPattern)
-
getMDCLoggingKeysPattern
public String getMDCLoggingKeysPattern()
- Specified by:
getMDCLoggingKeysPattern
in classorg.apache.camel.core.xml.AbstractCamelContextFactoryBean<org.apache.camel.impl.DefaultCamelContext>
-
-