@Metadata(label="spring,configuration") public class CamelContextFactoryBean extends org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext> implements org.springframework.beans.factory.FactoryBean<SpringCamelContext>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered
Constructor and Description |
---|
CamelContextFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected void |
configure(SpringCamelContext ctx)
Apply additional configuration to the context
|
protected SpringCamelContext |
createContext()
Create the context
|
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() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
String |
getAutoStartup() |
protected <S> S |
getBeanForType(Class<S> clazz) |
org.springframework.beans.factory.config.BeanPostProcessor |
getBeanPostProcessor() |
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.CamelStreamCachingStrategyDefinition |
getCamelStreamCachingStrategy() |
SpringCamelContext |
getContext(boolean create) |
org.apache.camel.model.ContextScanDefinition |
getContextScan() |
org.apache.camel.model.dataformat.DataFormatsDefinition |
getDataFormats() |
org.apache.camel.model.HystrixConfigurationDefinition |
getDefaultHystrixConfiguration() |
org.apache.camel.model.cloud.ServiceCallConfigurationDefinition |
getDefaultServiceCallConfiguration() |
String |
getDelayer() |
String |
getDependsOn() |
List<CamelEndpointFactoryBean> |
getEndpoints() |
String |
getErrorHandlerRef() |
org.apache.camel.model.GlobalOptionsDefinition |
getGlobalOptions() |
List<org.apache.camel.model.HystrixConfigurationDefinition> |
getHystrixConfigurations() |
List<org.apache.camel.model.InterceptFromDefinition> |
getInterceptFroms() |
List<org.apache.camel.model.InterceptDefinition> |
getIntercepts() |
List<org.apache.camel.model.InterceptSendToEndpointDefinition> |
getInterceptSendToEndpoints() |
Boolean |
getLoadTypeConverters() |
String |
getLogExhaustedMessageBody() |
String |
getLogMask() |
String |
getManagementNamePattern() |
String |
getMDCLoggingKeysPattern() |
String |
getMessageHistory() |
Class<SpringCamelContext> |
getObjectType() |
List<org.apache.camel.model.OnCompletionDefinition> |
getOnCompletions() |
List<org.apache.camel.model.OnExceptionDefinition> |
getOnExceptions() |
int |
getOrder() |
String[] |
getPackages() |
org.apache.camel.model.PackageScanDefinition |
getPackageScan() |
int |
getPhase() |
List<CamelRedeliveryPolicyFactoryBean> |
getRedeliveryPolicies() |
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.RouteContextRefDefinition> |
getRouteRefs() |
List<org.apache.camel.model.RouteDefinition> |
getRoutes() |
String |
getRuntimeEndpointRegistryEnabled() |
List<org.apache.camel.model.cloud.ServiceCallConfigurationDefinition> |
getServiceCallConfigurations() |
String |
getShutdownEager() |
org.apache.camel.ShutdownRoute |
getShutdownRoute() |
org.apache.camel.ShutdownRunningTask |
getShutdownRunningTask() |
String |
getStreamCache() |
String |
getThreadNamePattern() |
List<org.apache.camel.model.ThreadPoolProfileDefinition> |
getThreadPoolProfiles() |
List<CamelThreadPoolFactoryBean> |
getThreadPools() |
String |
getTrace() |
String |
getTracePattern() |
org.apache.camel.model.transformer.TransformersDefinition |
getTransformers() |
org.apache.camel.TypeConverterExists |
getTypeConverterExists() |
org.apache.camel.LoggingLevel |
getTypeConverterExistsLoggingLevel() |
Boolean |
getTypeConverterStatisticsEnabled() |
String |
getUseBreadcrumb() |
String |
getUseDataType() |
String |
getUseMDCLogging() |
org.apache.camel.model.validator.ValidatorsDefinition |
getValidators() |
protected void |
initBeanPostProcessor(SpringCamelContext context) |
protected void |
initCustomRegistry(SpringCamelContext context) |
protected void |
initPropertyPlaceholder() |
boolean |
isImplicitId() |
boolean |
isRunning() |
protected SpringCamelContext |
newCamelContext() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
protected void |
postProcessBeforeInit(org.apache.camel.builder.RouteBuilder builder) |
void |
setAllowUseOriginalMessage(String allowUseOriginalMessage)
Sets whether to allow access to the original message from Camel's error handler,
or from
UnitOfWork.getOriginalInMessage() . |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setAutoStartup(String autoStartup)
Sets whether the object should automatically start when Camel starts.
|
void |
setBeanPostProcessor(org.springframework.beans.factory.config.BeanPostProcessor postProcessor) |
void |
setBeans(List<?> beans)
Miscellaneous configurations
|
void |
setBeansFactory(List<org.apache.camel.core.xml.AbstractCamelFactoryBean<?>> beansFactory)
Miscellaneous configurations
|
void |
setBuilderRefs(List<org.apache.camel.model.RouteBuilderDefinition> builderRefs)
Refers to Java
RouteBuilder instances to include as routes in this CamelContext. |
void |
setCamelJMXAgent(org.apache.camel.core.xml.CamelJMXAgentDefinition agent)
Configuration of JMX Agent.
|
void |
setCamelPropertyPlaceholder(org.apache.camel.core.xml.CamelPropertyPlaceholderDefinition camelPropertyPlaceholder)
Configuration of property placeholder
|
void |
setCamelStreamCachingStrategy(org.apache.camel.core.xml.CamelStreamCachingStrategyDefinition camelStreamCachingStrategy)
Configuration of stream caching.
|
void |
setContext(SpringCamelContext context) |
void |
setContextScan(org.apache.camel.model.ContextScanDefinition contextScan)
Sets the context scanning (eg Spring's ApplicationContext) information.
|
void |
setDataFormats(org.apache.camel.model.dataformat.DataFormatsDefinition dataFormats)
Configuration of data formats.
|
void |
setDefaultHystrixConfiguration(org.apache.camel.model.HystrixConfigurationDefinition defaultHystrixConfiguration)
Hystrix EIP default configuration
|
void |
setDefaultServiceCallConfiguration(org.apache.camel.model.cloud.ServiceCallConfigurationDefinition defaultServiceCallConfiguration)
ServiceCall EIP default configuration
|
void |
setDelayer(String delayer)
Sets a delay value in millis that a message is delayed at every step it takes in the route path,
slowing the process down to better observe what is occurring
|
void |
setDependsOn(String dependsOn)
List of other bean id's this CamelContext depends up.
|
void |
setEndpoints(List<CamelEndpointFactoryBean> endpoints)
Configuration of endpoints
|
void |
setErrorHandlerRef(String errorHandlerRef)
Sets the name of the error handler object used to default the error handling strategy
|
void |
setGlobalOptions(org.apache.camel.model.GlobalOptionsDefinition globalOptions)
Configuration of CamelContext properties such as limit of debug logging
and other general options.
|
void |
setHystrixConfigurations(List<org.apache.camel.model.HystrixConfigurationDefinition> hystrixConfigurations)
Hystrix EIP configurations
|
void |
setImplicitId(boolean flag) |
void |
setInterceptFroms(List<org.apache.camel.model.InterceptFromDefinition> interceptFroms)
Configuration of interceptors that triggers from the beginning of routes.
|
void |
setIntercepts(List<org.apache.camel.model.InterceptDefinition> intercepts)
Configuration of interceptors.
|
void |
setInterceptSendToEndpoints(List<org.apache.camel.model.InterceptSendToEndpointDefinition> interceptSendToEndpoints)
Configuration of interceptors that triggers sending messages to endpoints.
|
void |
setLoadTypeConverters(Boolean loadTypeConverters)
Sets whether to load custom type converters by scanning classpath.
|
void |
setLogExhaustedMessageBody(String logExhaustedMessageBody)
Sets whether to log exhausted message body with message history.
|
void |
setLogMask(String logMask)
Sets whether security mask for Logging is enabled or not.
|
void |
setManagementNamePattern(String managementNamePattern)
The naming pattern for creating the CamelContext management name.
|
void |
setMDCLoggingKeysPattern(String mdcLoggingKeysPattern)
Sets the pattern used for determine which custom MDC keys to propagate during message routing when
the routing engine continues routing asynchronously for the given message.
|
void |
setMessageHistory(String messageHistory)
Sets whether message history is enabled or not.
|
void |
setOnCompletions(List<org.apache.camel.model.OnCompletionDefinition> onCompletions)
Configuration of sub routes to run at the completion of routing.
|
void |
setOnExceptions(List<org.apache.camel.model.OnExceptionDefinition> onExceptions)
Configuration of error handlers that triggers on exceptions thrown.
|
void |
setPackages(String[] packages)
Sets the package names to be recursively searched for Java classes which
extend
RouteBuilder to be auto-wired up to the
CamelContext as a route. |
void |
setPackageScan(org.apache.camel.model.PackageScanDefinition packageScan)
Sets the package scanning information.
|
void |
setRedeliveryPolicies(List<CamelRedeliveryPolicyFactoryBean> redeliveryPolicies)
Configuration of redelivery settings.
|
void |
setRestConfiguration(org.apache.camel.model.rest.RestConfigurationDefinition restConfiguration)
Configuration for rest-dsl
|
void |
setRestRefs(List<org.apache.camel.model.RestContextRefDefinition> restRefs)
Refers to XML rest-dsl to include as REST services in this CamelContext.
|
void |
setRests(List<org.apache.camel.model.rest.RestDefinition> rests)
Contains the rest services defined using the rest-dsl
|
void |
setRouteRefs(List<org.apache.camel.model.RouteContextRefDefinition> routeRefs)
Refers to XML routes to include as routes in this CamelContext.
|
void |
setRoutes(List<org.apache.camel.model.RouteDefinition> routes)
Contains the Camel routes
|
void |
setRuntimeEndpointRegistryEnabled(String runtimeEndpointRegistryEnabled)
Sets whether
RuntimeEndpointRegistry is enabled. |
void |
setServiceCallConfigurations(List<org.apache.camel.model.cloud.ServiceCallConfigurationDefinition> serviceCallConfigurations)
ServiceCall EIP configurations
|
void |
setShutdownEager(String shutdownEager)
Whether to shutdown CamelContext eager when Spring is shutting down.
|
void |
setShutdownRoute(org.apache.camel.ShutdownRoute shutdownRoute)
Sets the ShutdownRoute option for routes.
|
void |
setShutdownRunningTask(org.apache.camel.ShutdownRunningTask shutdownRunningTask)
Sets the ShutdownRunningTask option to use when shutting down a route.
|
void |
setStreamCache(String streamCache)
Sets whether stream caching is enabled or not.
|
void |
setThreadNamePattern(String threadNamePattern)
Sets the thread name pattern used for creating the full thread name.
|
void |
setThreadPoolProfiles(List<org.apache.camel.model.ThreadPoolProfileDefinition> threadPoolProfiles)
Configuration of thread pool profiles.
|
void |
setThreadPools(List<CamelThreadPoolFactoryBean> threadPools)
Configuration of thread pool
|
void |
setTrace(String trace)
Sets whether tracing is enabled or not.
|
void |
setTracePattern(String tracePattern)
Tracing pattern to match which node EIPs to trace.
|
void |
setTransformers(org.apache.camel.model.transformer.TransformersDefinition transformers)
Configuration of transformers.
|
void |
setTypeConverterExists(org.apache.camel.TypeConverterExists typeConverterExists)
What should happen when attempting to add a duplicate type converter.
|
void |
setTypeConverterExistsLoggingLevel(org.apache.camel.LoggingLevel typeConverterExistsLoggingLevel)
The logging level to use when logging that a type converter already exists when attempting to add a duplicate type converter.
|
void |
setTypeConverterStatisticsEnabled(Boolean typeConverterStatisticsEnabled)
Sets whether or not type converter statistics is enabled.
|
void |
setUseBreadcrumb(String useBreadcrumb)
Set whether breadcrumb is enabled.
|
void |
setUseDataType(String useDataType)
Whether to enable using data type on Camel messages.
|
void |
setUseMDCLogging(String useMDCLogging)
Set whether MDC is enabled.
|
void |
setValidators(org.apache.camel.model.validator.ValidatorsDefinition validators)
Configuration of validators.
|
void |
start() |
void |
stop() |
destroy, findRouteBuilders, getContext, getContextClassLoaderOnStart, getObject, initCamelContext, initJMXAgent, initRestRefs, initRouteRefs, initStreamCachingStrategy, initThreadPoolProfiles, installRoutes, isSingleton, setupRoutes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CamelContextFactoryBean()
public Class<SpringCamelContext> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<SpringCamelContext>
getObjectType
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
protected <S> S getBeanForType(Class<S> clazz)
getBeanForType
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
protected void findRouteBuildersByPackageScan(String[] packages, org.apache.camel.spi.PackageScanFilter filter, List<org.apache.camel.RoutesBuilder> builders) throws Exception
findRouteBuildersByPackageScan
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
Exception
protected void findRouteBuildersByContextScan(org.apache.camel.spi.PackageScanFilter filter, boolean includeNonSingletons, List<org.apache.camel.RoutesBuilder> builders) throws Exception
findRouteBuildersByContextScan
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
Exception
protected void initBeanPostProcessor(SpringCamelContext context)
initBeanPostProcessor
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
protected void postProcessBeforeInit(org.apache.camel.builder.RouteBuilder builder)
postProcessBeforeInit
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
Exception
protected void initCustomRegistry(SpringCamelContext context)
initCustomRegistry
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
protected void initPropertyPlaceholder() throws Exception
initPropertyPlaceholder
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
Exception
public void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public void setBeanPostProcessor(org.springframework.beans.factory.config.BeanPostProcessor postProcessor)
public org.springframework.beans.factory.config.BeanPostProcessor getBeanPostProcessor()
protected SpringCamelContext createContext()
protected void configure(SpringCamelContext ctx)
protected SpringCamelContext newCamelContext()
public SpringCamelContext getContext(boolean create)
getContext
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setContext(SpringCamelContext context)
public List<org.apache.camel.model.RouteDefinition> getRoutes()
getRoutes
in interface org.apache.camel.model.RouteContainer
getRoutes
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setRoutes(List<org.apache.camel.model.RouteDefinition> routes)
setRoutes
in interface org.apache.camel.model.RouteContainer
public List<org.apache.camel.model.rest.RestDefinition> getRests()
getRests
in interface org.apache.camel.model.rest.RestContainer
getRests
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setRests(List<org.apache.camel.model.rest.RestDefinition> rests)
setRests
in interface org.apache.camel.model.rest.RestContainer
public org.apache.camel.model.rest.RestConfigurationDefinition getRestConfiguration()
getRestConfiguration
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setRestConfiguration(org.apache.camel.model.rest.RestConfigurationDefinition restConfiguration)
public List<CamelEndpointFactoryBean> getEndpoints()
getEndpoints
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setEndpoints(List<CamelEndpointFactoryBean> endpoints)
public List<CamelRedeliveryPolicyFactoryBean> getRedeliveryPolicies()
getRedeliveryPolicies
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public List<org.apache.camel.model.InterceptDefinition> getIntercepts()
getIntercepts
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setIntercepts(List<org.apache.camel.model.InterceptDefinition> intercepts)
public List<org.apache.camel.model.InterceptFromDefinition> getInterceptFroms()
getInterceptFroms
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setInterceptFroms(List<org.apache.camel.model.InterceptFromDefinition> interceptFroms)
public List<org.apache.camel.model.InterceptSendToEndpointDefinition> getInterceptSendToEndpoints()
getInterceptSendToEndpoints
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setInterceptSendToEndpoints(List<org.apache.camel.model.InterceptSendToEndpointDefinition> interceptSendToEndpoints)
public org.apache.camel.model.GlobalOptionsDefinition getGlobalOptions()
getGlobalOptions
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setGlobalOptions(org.apache.camel.model.GlobalOptionsDefinition globalOptions)
public String[] getPackages()
getPackages
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setPackages(String[] packages)
RouteBuilder
to be auto-wired up to the
CamelContext
as a route. Note that classes are excluded if
they are specifically configured in the spring.xml
A more advanced configuration can be done using setPackageScan(org.apache.camel.model.PackageScanDefinition)
packages
- the package names which are recursively searchedsetPackageScan(org.apache.camel.model.PackageScanDefinition)
public org.apache.camel.model.PackageScanDefinition getPackageScan()
getPackageScan
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setPackageScan(org.apache.camel.model.PackageScanDefinition packageScan)
RouteBuilder
implementationssetPackageScan
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
packageScan
- the package scanpublic org.apache.camel.model.ContextScanDefinition getContextScan()
getContextScan
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setContextScan(org.apache.camel.model.ContextScanDefinition contextScan)
RouteBuilder
implementationssetContextScan
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
contextScan
- the context scanpublic org.apache.camel.core.xml.CamelPropertyPlaceholderDefinition getCamelPropertyPlaceholder()
getCamelPropertyPlaceholder
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setCamelPropertyPlaceholder(org.apache.camel.core.xml.CamelPropertyPlaceholderDefinition camelPropertyPlaceholder)
public org.apache.camel.core.xml.CamelStreamCachingStrategyDefinition getCamelStreamCachingStrategy()
getCamelStreamCachingStrategy
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setCamelStreamCachingStrategy(org.apache.camel.core.xml.CamelStreamCachingStrategyDefinition camelStreamCachingStrategy)
public void setCamelJMXAgent(org.apache.camel.core.xml.CamelJMXAgentDefinition agent)
public String getTrace()
getTrace
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public String getTracePattern()
getTracePattern
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setTracePattern(String tracePattern)
public String getMessageHistory()
getMessageHistory
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setMessageHistory(String messageHistory)
public String getLogMask()
getLogMask
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setLogMask(String logMask)
public String getLogExhaustedMessageBody()
getLogExhaustedMessageBody
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setLogExhaustedMessageBody(String logExhaustedMessageBody)
public String getStreamCache()
getStreamCache
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setStreamCache(String streamCache)
public String getDelayer()
getDelayer
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setDelayer(String delayer)
public String getAutoStartup()
getAutoStartup
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setAutoStartup(String autoStartup)
CamelContext
s are always started.
CamelContext
then that takes precedence
and no routes is started. You would need to start CamelContext
explicit using
the CamelContext.start()
method, to start the context, and then
you would need to start the routes manually using RouteController.startRoute(String)
.public String getShutdownEager()
public void setShutdownEager(String shutdownEager)
public String getUseMDCLogging()
getUseMDCLogging
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setUseMDCLogging(String useMDCLogging)
public String getMDCLoggingKeysPattern()
getMDCLoggingKeysPattern
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setMDCLoggingKeysPattern(String mdcLoggingKeysPattern)
public String getUseDataType()
getUseDataType
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setUseDataType(String useDataType)
public String getUseBreadcrumb()
getUseBreadcrumb
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setUseBreadcrumb(String useBreadcrumb)
public String getAllowUseOriginalMessage()
getAllowUseOriginalMessage
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setAllowUseOriginalMessage(String allowUseOriginalMessage)
UnitOfWork.getOriginalInMessage()
.
Turning this off can optimize performance, as defensive copy of the original message is not needed.public String getRuntimeEndpointRegistryEnabled()
getRuntimeEndpointRegistryEnabled
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setRuntimeEndpointRegistryEnabled(String runtimeEndpointRegistryEnabled)
RuntimeEndpointRegistry
is enabled.public String getManagementNamePattern()
getManagementNamePattern
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setManagementNamePattern(String managementNamePattern)
public String getThreadNamePattern()
getThreadNamePattern
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setThreadNamePattern(String threadNamePattern)
CamelContext
public Boolean getLoadTypeConverters()
getLoadTypeConverters
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setLoadTypeConverters(Boolean loadTypeConverters)
loadTypeConverters
- whether to load custom type converters.public Boolean getTypeConverterStatisticsEnabled()
getTypeConverterStatisticsEnabled
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setTypeConverterStatisticsEnabled(Boolean typeConverterStatisticsEnabled)
org.apache.camel.spi.TypeConverterRegistry#getStatistics()#setTypeConverterStatisticsEnabled(Boolean)
method,
or from JMX on the org.apache.camel.api.management.mbean.ManagedTypeConverterRegistryMBean
mbean.public org.apache.camel.TypeConverterExists getTypeConverterExists()
getTypeConverterExists
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setTypeConverterExists(org.apache.camel.TypeConverterExists typeConverterExists)
public org.apache.camel.LoggingLevel getTypeConverterExistsLoggingLevel()
getTypeConverterExistsLoggingLevel
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setTypeConverterExistsLoggingLevel(org.apache.camel.LoggingLevel typeConverterExistsLoggingLevel)
public org.apache.camel.core.xml.CamelJMXAgentDefinition getCamelJMXAgent()
getCamelJMXAgent
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public List<org.apache.camel.model.RouteBuilderDefinition> getBuilderRefs()
getBuilderRefs
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setBuilderRefs(List<org.apache.camel.model.RouteBuilderDefinition> builderRefs)
RouteBuilder
instances to include as routes in this CamelContext.public List<org.apache.camel.model.RouteContextRefDefinition> getRouteRefs()
getRouteRefs
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setRouteRefs(List<org.apache.camel.model.RouteContextRefDefinition> routeRefs)
public List<org.apache.camel.model.RestContextRefDefinition> getRestRefs()
getRestRefs
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setRestRefs(List<org.apache.camel.model.RestContextRefDefinition> restRefs)
public String getErrorHandlerRef()
getErrorHandlerRef
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setErrorHandlerRef(String errorHandlerRef)
public void setDataFormats(org.apache.camel.model.dataformat.DataFormatsDefinition dataFormats)
public org.apache.camel.model.dataformat.DataFormatsDefinition getDataFormats()
getDataFormats
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setTransformers(org.apache.camel.model.transformer.TransformersDefinition transformers)
public org.apache.camel.model.transformer.TransformersDefinition getTransformers()
getTransformers
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setValidators(org.apache.camel.model.validator.ValidatorsDefinition validators)
public org.apache.camel.model.validator.ValidatorsDefinition getValidators()
getValidators
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setRedeliveryPolicies(List<CamelRedeliveryPolicyFactoryBean> redeliveryPolicies)
public List<org.apache.camel.core.xml.AbstractCamelFactoryBean<?>> getBeansFactory()
getBeansFactory
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setBeansFactory(List<org.apache.camel.core.xml.AbstractCamelFactoryBean<?>> beansFactory)
public List<?> getBeans()
getBeans
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public org.apache.camel.model.cloud.ServiceCallConfigurationDefinition getDefaultServiceCallConfiguration()
getDefaultServiceCallConfiguration
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setDefaultServiceCallConfiguration(org.apache.camel.model.cloud.ServiceCallConfigurationDefinition defaultServiceCallConfiguration)
public List<org.apache.camel.model.cloud.ServiceCallConfigurationDefinition> getServiceCallConfigurations()
getServiceCallConfigurations
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setServiceCallConfigurations(List<org.apache.camel.model.cloud.ServiceCallConfigurationDefinition> serviceCallConfigurations)
public List<org.apache.camel.model.HystrixConfigurationDefinition> getHystrixConfigurations()
getHystrixConfigurations
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public org.apache.camel.model.HystrixConfigurationDefinition getDefaultHystrixConfiguration()
getDefaultHystrixConfiguration
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setDefaultHystrixConfiguration(org.apache.camel.model.HystrixConfigurationDefinition defaultHystrixConfiguration)
public void setHystrixConfigurations(List<org.apache.camel.model.HystrixConfigurationDefinition> hystrixConfigurations)
public void setOnExceptions(List<org.apache.camel.model.OnExceptionDefinition> onExceptions)
public List<org.apache.camel.model.OnExceptionDefinition> getOnExceptions()
getOnExceptions
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public List<org.apache.camel.model.OnCompletionDefinition> getOnCompletions()
getOnCompletions
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setOnCompletions(List<org.apache.camel.model.OnCompletionDefinition> onCompletions)
public org.apache.camel.ShutdownRoute getShutdownRoute()
getShutdownRoute
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setShutdownRoute(org.apache.camel.ShutdownRoute shutdownRoute)
public org.apache.camel.ShutdownRunningTask getShutdownRunningTask()
getShutdownRunningTask
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setShutdownRunningTask(org.apache.camel.ShutdownRunningTask shutdownRunningTask)
public List<org.apache.camel.model.ThreadPoolProfileDefinition> getThreadPoolProfiles()
getThreadPoolProfiles
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setThreadPoolProfiles(List<org.apache.camel.model.ThreadPoolProfileDefinition> threadPoolProfiles)
public List<CamelThreadPoolFactoryBean> getThreadPools()
public void setThreadPools(List<CamelThreadPoolFactoryBean> threadPools)
public String getDependsOn()
getDependsOn
in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean<SpringCamelContext>
public void setDependsOn(String dependsOn)
public boolean isImplicitId()
public void setImplicitId(boolean flag)
Apache Camel