public class MainConfigurationProperties extends Object
Constructor and Description |
---|
MainConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
int |
getConsumerTemplateCacheSize() |
long |
getDuration() |
int |
getDurationHitExitCode() |
int |
getDurationMaxIdleSeconds() |
int |
getDurationMaxMessages() |
int |
getDurationMaxSeconds() |
String |
getFileConfigurations() |
String |
getFileWatchDirectory() |
String |
getJmxManagementNamePattern() |
org.apache.camel.ManagementStatisticsLevel |
getJmxManagementStatisticsLevel() |
int |
getLogDebugMaxChars() |
String |
getName() |
int |
getProducerTemplateCacheSize() |
org.apache.camel.spi.ReloadStrategy |
getReloadStrategy() |
int |
getShutdownTimeout() |
int |
getStreamCachingBufferSize() |
String |
getStreamCachingSpoolCipher() |
String |
getStreamCachingSpoolDirectory() |
long |
getStreamCachingSpoolThreshold() |
String |
getStreamCachingSpoolUsedHeapMemoryLimit() |
int |
getStreamCachingSpoolUsedHeapMemoryThreshold() |
String |
getThreadNamePattern() |
boolean |
isAllowUseOriginalMessage() |
boolean |
isAutoConfigurationEnabled() |
boolean |
isAutoStartup() |
boolean |
isAutowireComponentProperties() |
boolean |
isAutowireComponentPropertiesDeep() |
boolean |
isEndpointRuntimeStatisticsEnabled() |
boolean |
isFileWatchDirectoryRecursively() |
boolean |
isHandleFault() |
boolean |
isHangupInterceptorEnabled() |
boolean |
isJmxCreateConnector() |
boolean |
isJmxEnabled() |
boolean |
isLogExhaustedMessageBody() |
boolean |
isLogMask() |
boolean |
isMessageHistory() |
boolean |
isShutdownLogInflightExchangesOnTimeout() |
boolean |
isShutdownNowOnTimeout() |
boolean |
isShutdownRoutesInReverseOrder() |
boolean |
isShutdownSuppressLoggingOnTimeout() |
boolean |
isStreamCachingAnySpoolRules() |
boolean |
isStreamCachingEnabled() |
boolean |
isStreamCachingRemoveSpoolDirectoryWhenStopping() |
boolean |
isStreamCachingStatisticsEnabled() |
boolean |
isTracing() |
boolean |
isUseBreadcrumb() |
boolean |
isUseDataType() |
boolean |
isUseMdcLogging() |
void |
setAllowUseOriginalMessage(boolean allowUseOriginalMessage)
Sets whether to allow access to the original message from Camel's error handler,
or from org.apache.camel.spi.UnitOfWork.getOriginalInMessage().
|
void |
setAutoConfigurationEnabled(boolean autoConfigurationEnabled)
Whether auto configuration of components/dataformats/languages is enabled or not.
|
void |
setAutoStartup(boolean autoStartup)
Sets whether the object should automatically start when Camel starts.
|
void |
setAutowireComponentProperties(boolean autowireComponentProperties)
Whether autowiring components with properties that are of same type, which has been added to the Camel registry, as a singleton instance.
|
void |
setAutowireComponentPropertiesDeep(boolean autowireComponentPropertiesDeep)
Whether autowiring components (with deep nesting by attempting to walk as deep down the object graph by creating new empty objects on the way if needed)
with properties that are of same type, which has been added to the Camel registry, as a singleton instance.
|
void |
setConsumerTemplateCacheSize(int consumerTemplateCacheSize)
Consumer template endpoints cache size.
|
void |
setDuration(long duration)
Sets the duration (in seconds) to run the application until it
should be terminated.
|
void |
setDurationHitExitCode(int durationHitExitCode)
Sets the exit code for the application if duration was hit
|
void |
setDurationMaxIdleSeconds(int durationMaxIdleSeconds)
To specify for how long time in seconds Camel can be idle before automatic terminating the JVM.
|
void |
setDurationMaxMessages(int durationMaxMessages)
To specify how many messages to process by Camel before automatic terminating the JVM.
|
void |
setDurationMaxSeconds(int durationMaxSeconds)
To specify for how long time in seconds to keep running the JVM before automatic terminating the JVM.
|
void |
setEndpointRuntimeStatisticsEnabled(boolean endpointRuntimeStatisticsEnabled)
Sets whether endpoint runtime statistics is enabled (gathers runtime usage of each incoming and outgoing endpoints).
|
void |
setFileConfigurations(String fileConfigurations)
Directory to load additional configuration files that contains
configuration values that takes precedence over any other configuration.
|
void |
setFileWatchDirectory(String fileWatchDirectory)
Sets the directory name to watch XML file changes to trigger live reload of Camel routes.
|
void |
setFileWatchDirectoryRecursively(boolean fileWatchDirectoryRecursively)
Sets the flag to watch directory of XML file changes recursively to trigger live reload of Camel routes.
|
void |
setHandleFault(boolean handleFault)
Sets whether fault handling is enabled or not.
|
void |
setHangupInterceptorEnabled(boolean hangupInterceptorEnabled)
Whether to use graceful hangup when Camel is stopping or when the JVM terminates.
|
void |
setJmxCreateConnector(boolean jmxCreateConnector)
Whether JMX connector is created, allowing clients to connect remotely
The default value is false.
|
void |
setJmxEnabled(boolean jmxEnabled)
Enable JMX in your Camel application.
|
void |
setJmxManagementNamePattern(String jmxManagementNamePattern)
The naming pattern for creating the CamelContext JMX management name.
|
void |
setJmxManagementStatisticsLevel(org.apache.camel.ManagementStatisticsLevel jmxManagementStatisticsLevel)
Sets the JMX statistics level
The level can be set to Extended to gather additional information
The default value is Default.
|
void |
setLogDebugMaxChars(int logDebugMaxChars)
Is used to limit the maximum length of the logging Camel message bodies.
|
void |
setLogExhaustedMessageBody(boolean logExhaustedMessageBody)
Sets whether to log exhausted message body with message history.
|
void |
setLogMask(boolean logMask)
Sets whether log mask is enabled or not.
|
void |
setMessageHistory(boolean messageHistory)
Sets whether message history is enabled or not.
|
void |
setName(String name)
Sets the name of the CamelContext.
|
void |
setProducerTemplateCacheSize(int producerTemplateCacheSize)
Producer template endpoints cache size.
|
void |
setReloadStrategy(org.apache.camel.spi.ReloadStrategy reloadStrategy)
Sets a custom
ReloadStrategy to be used. |
void |
setShutdownLogInflightExchangesOnTimeout(boolean shutdownLogInflightExchangesOnTimeout)
Sets whether to log information about the inflight Exchanges which are still running
during a shutdown which didn't complete without the given timeout.
|
void |
setShutdownNowOnTimeout(boolean shutdownNowOnTimeout)
Sets whether to force shutdown of all consumers when a timeout occurred and thus
not all consumers was shutdown within that period.
|
void |
setShutdownRoutesInReverseOrder(boolean shutdownRoutesInReverseOrder)
Sets whether routes should be shutdown in reverse or the same order as they where started.
|
void |
setShutdownSuppressLoggingOnTimeout(boolean shutdownSuppressLoggingOnTimeout)
Whether Camel should try to suppress logging during shutdown and timeout was triggered,
meaning forced shutdown is happening.
|
void |
setShutdownTimeout(int shutdownTimeout)
Timeout in seconds to graceful shutdown Camel.
|
void |
setStreamCachingAnySpoolRules(boolean streamCachingAnySpoolRules)
Sets whether if just any of the org.apache.camel.spi.StreamCachingStrategy.SpoolRule rules
returns true then shouldSpoolCache(long) returns true, to allow spooling to disk.
|
void |
setStreamCachingBufferSize(int streamCachingBufferSize)
Sets the stream caching buffer size to use when allocating in-memory buffers used for in-memory stream caches.
|
void |
setStreamCachingEnabled(boolean streamCachingEnabled)
Sets whether stream caching is enabled or not.
|
void |
setStreamCachingRemoveSpoolDirectoryWhenStopping(boolean streamCachingRemoveSpoolDirectoryWhenStopping)
Whether to remove stream caching temporary directory when stopping.
|
void |
setStreamCachingSpoolCipher(String streamCachingSpoolCipher)
Sets a stream caching cipher name to use when spooling to disk to write with encryption.
|
void |
setStreamCachingSpoolDirectory(String streamCachingSpoolDirectory)
Sets the stream caching spool (temporary) directory to use for overflow and spooling to disk.
|
void |
setStreamCachingSpoolThreshold(long streamCachingSpoolThreshold)
Stream caching threshold in bytes when overflow to disk is activated.
|
void |
setStreamCachingSpoolUsedHeapMemoryLimit(String streamCachingSpoolUsedHeapMemoryLimit)
Sets what the upper bounds should be when streamCachingSpoolUsedHeapMemoryThreshold is in use.
|
void |
setStreamCachingSpoolUsedHeapMemoryThreshold(int streamCachingSpoolUsedHeapMemoryThreshold)
Sets a percentage (1-99) of used heap memory threshold to activate stream caching spooling to disk.
|
void |
setStreamCachingStatisticsEnabled(boolean streamCachingStatisticsEnabled)
Sets whether stream caching statistics is enabled.
|
void |
setThreadNamePattern(String threadNamePattern)
Sets the thread name pattern used for creating the full thread name.
|
void |
setTracing(boolean tracing)
Sets whether tracing is enabled or not.
|
void |
setUseBreadcrumb(boolean useBreadcrumb)
Set whether breadcrumb is enabled.
|
void |
setUseDataType(boolean useDataType)
Whether to enable using data type on Camel messages.
|
void |
setUseMdcLogging(boolean useMdcLogging)
To turn on MDC logging
|
MainConfigurationProperties |
withAllowUseOriginalMessage(boolean allowUseOriginalMessage)
Sets whether to allow access to the original message from Camel's error handler,
or from org.apache.camel.spi.UnitOfWork.getOriginalInMessage().
|
MainConfigurationProperties |
withAutoConfigurationEnabled(boolean autoConfigurationEnabled)
Whether auto configuration of components/dataformats/languages is enabled or not.
|
MainConfigurationProperties |
withAutoStartup(boolean autoStartup)
Sets whether the object should automatically start when Camel starts.
|
MainConfigurationProperties |
withConsumerTemplateCacheSize(int consumerTemplateCacheSize)
Consumer template endpoints cache size.
|
MainConfigurationProperties |
withDuration(long duration)
Sets the duration (in seconds) to run the application until it
should be terminated.
|
MainConfigurationProperties |
withDurationHitExitCode(int durationHitExitCode)
Sets the exit code for the application if duration was hit
|
MainConfigurationProperties |
withDurationMaxIdleSeconds(int durationMaxIdleSeconds)
To specify for how long time in seconds Camel can be idle before automatic terminating the JVM.
|
MainConfigurationProperties |
withDurationMaxMessages(int durationMaxMessages)
To specify how many messages to process by Camel before automatic terminating the JVM.
|
MainConfigurationProperties |
withDurationMaxSeconds(int durationMaxSeconds)
To specify for how long time in seconds to keep running the JVM before automatic terminating the JVM.
|
MainConfigurationProperties |
withEndpointRuntimeStatisticsEnabled(boolean endpointRuntimeStatisticsEnabled)
Sets whether endpoint runtime statistics is enabled (gathers runtime usage of each incoming and outgoing endpoints).
|
MainConfigurationProperties |
withFileConfigurations(String fileConfigurations)
Directory to load additional configuration files that contains
configuration values that takes precedence over any other configuration.
|
MainConfigurationProperties |
withFileWatchDirectory(String fileWatchDirectory)
Sets the directory name to watch XML file changes to trigger live reload of Camel routes.
|
MainConfigurationProperties |
withFileWatchDirectoryRecursively(boolean fileWatchDirectoryRecursively)
Sets the flag to watch directory of XML file changes recursively to trigger live reload of Camel routes.
|
MainConfigurationProperties |
withHandleFault(boolean handleFault)
Sets whether fault handling is enabled or not.
|
MainConfigurationProperties |
withHangupInterceptorEnabled(boolean hangupInterceptorEnabled)
Whether to use graceful hangup when Camel is stopping or when the JVM terminates.
|
MainConfigurationProperties |
withJmxCreateConnector(boolean jmxCreateConnector)
Whether JMX connector is created, allowing clients to connect remotely
The default value is false.
|
MainConfigurationProperties |
withJmxEnabled(boolean jmxEnabled)
Enable JMX in your Camel application.
|
MainConfigurationProperties |
withJmxManagementNamePattern(String jmxManagementNamePattern)
The naming pattern for creating the CamelContext JMX management name.
|
MainConfigurationProperties |
withJmxManagementStatisticsLevel(org.apache.camel.ManagementStatisticsLevel jmxManagementStatisticsLevel)
Sets the JMX statistics level
The level can be set to Extended to gather additional information
The default value is Default.
|
MainConfigurationProperties |
withLogDebugMaxChars(int logDebugMaxChars)
Is used to limit the maximum length of the logging Camel message bodies.
|
MainConfigurationProperties |
withLogExhaustedMessageBody(boolean logExhaustedMessageBody)
Sets whether to log exhausted message body with message history.
|
MainConfigurationProperties |
withLogMask(boolean logMask)
Sets whether log mask is enabled or not.
|
MainConfigurationProperties |
withMessageHistory(boolean messageHistory)
Sets whether message history is enabled or not.
|
MainConfigurationProperties |
withName(String name)
Sets the name of the CamelContext.
|
MainConfigurationProperties |
withProducerTemplateCacheSize(int producerTemplateCacheSize)
Producer template endpoints cache size.
|
MainConfigurationProperties |
withReloadStrategy(org.apache.camel.spi.ReloadStrategy reloadStrategy)
Sets a custom
ReloadStrategy to be used. |
MainConfigurationProperties |
withShutdownLogInflightExchangesOnTimeout(boolean shutdownLogInflightExchangesOnTimeout)
Sets whether to log information about the inflight Exchanges which are still running
during a shutdown which didn't complete without the given timeout.
|
MainConfigurationProperties |
withShutdownNowOnTimeout(boolean shutdownNowOnTimeout)
Sets whether to force shutdown of all consumers when a timeout occurred and thus
not all consumers was shutdown within that period.
|
MainConfigurationProperties |
withShutdownRoutesInReverseOrder(boolean shutdownRoutesInReverseOrder)
Sets whether routes should be shutdown in reverse or the same order as they where started.
|
MainConfigurationProperties |
withShutdownSuppressLoggingOnTimeout(boolean shutdownSuppressLoggingOnTimeout)
Whether Camel should try to suppress logging during shutdown and timeout was triggered,
meaning forced shutdown is happening.
|
MainConfigurationProperties |
withShutdownTimeout(int shutdownTimeout)
Timeout in seconds to graceful shutdown Camel.
|
MainConfigurationProperties |
withStreamCachingAnySpoolRules(boolean streamCachingAnySpoolRules)
Sets whether if just any of the org.apache.camel.spi.StreamCachingStrategy.SpoolRule rules
returns true then shouldSpoolCache(long) returns true, to allow spooling to disk.
|
MainConfigurationProperties |
withStreamCachingBufferSize(int streamCachingBufferSize)
Sets the stream caching buffer size to use when allocating in-memory buffers used for in-memory stream caches.
|
MainConfigurationProperties |
withStreamCachingEnabled(boolean streamCachingEnabled)
Sets whether stream caching is enabled or not.
|
MainConfigurationProperties |
withStreamCachingRemoveSpoolDirectoryWhenStopping(boolean streamCachingRemoveSpoolDirectoryWhenStopping)
Whether to remove stream caching temporary directory when stopping.
|
MainConfigurationProperties |
withStreamCachingSpoolCipher(String streamCachingSpoolCipher)
Sets a stream caching cipher name to use when spooling to disk to write with encryption.
|
MainConfigurationProperties |
withStreamCachingSpoolDirectory(String streamCachingSpoolDirectory)
Sets the stream caching spool (temporary) directory to use for overflow and spooling to disk.
|
MainConfigurationProperties |
withStreamCachingSpoolThreshold(long streamCachingSpoolThreshold)
Stream caching threshold in bytes when overflow to disk is activated.
|
MainConfigurationProperties |
withStreamCachingSpoolUsedHeapMemoryLimit(String streamCachingSpoolUsedHeapMemoryLimit)
Sets what the upper bounds should be when streamCachingSpoolUsedHeapMemoryThreshold is in use.
|
MainConfigurationProperties |
withStreamCachingSpoolUsedHeapMemoryThreshold(int streamCachingSpoolUsedHeapMemoryThreshold)
Sets a percentage (1-99) of used heap memory threshold to activate stream caching spooling to disk.
|
MainConfigurationProperties |
withStreamCachingStatisticsEnabled(boolean streamCachingStatisticsEnabled)
Sets whether stream caching statistics is enabled.
|
MainConfigurationProperties |
withThreadNamePattern(String threadNamePattern)
Sets the thread name pattern used for creating the full thread name.
|
MainConfigurationProperties |
withTracing(boolean tracing)
Sets whether tracing is enabled or not.
|
MainConfigurationProperties |
withUseBreadcrumb(boolean useBreadcrumb)
Set whether breadcrumb is enabled.
|
MainConfigurationProperties |
withUseDataType(boolean useDataType)
Whether to enable using data type on Camel messages.
|
MainConfigurationProperties |
withUseMdcLogging(boolean useMdcLogging)
To turn on MDC logging
|
public MainConfigurationProperties()
public boolean isAutoConfigurationEnabled()
public void setAutoConfigurationEnabled(boolean autoConfigurationEnabled)
Registry.bind(String, Object)
method
or by using the BindToRegistry
annotation style.
This option is default enabled.public boolean isAutowireComponentProperties()
public void setAutowireComponentProperties(boolean autowireComponentProperties)
public boolean isAutowireComponentPropertiesDeep()
public void setAutowireComponentPropertiesDeep(boolean autowireComponentPropertiesDeep)
public int getShutdownTimeout()
public void setShutdownTimeout(int shutdownTimeout)
public boolean isShutdownSuppressLoggingOnTimeout()
public void setShutdownSuppressLoggingOnTimeout(boolean shutdownSuppressLoggingOnTimeout)
public boolean isShutdownNowOnTimeout()
public void setShutdownNowOnTimeout(boolean shutdownNowOnTimeout)
public boolean isShutdownRoutesInReverseOrder()
public void setShutdownRoutesInReverseOrder(boolean shutdownRoutesInReverseOrder)
public boolean isShutdownLogInflightExchangesOnTimeout()
public void setShutdownLogInflightExchangesOnTimeout(boolean shutdownLogInflightExchangesOnTimeout)
public boolean isJmxEnabled()
public void setJmxEnabled(boolean jmxEnabled)
public int getProducerTemplateCacheSize()
public void setProducerTemplateCacheSize(int producerTemplateCacheSize)
public int getConsumerTemplateCacheSize()
public void setConsumerTemplateCacheSize(int consumerTemplateCacheSize)
public String getFileConfigurations()
public void setFileConfigurations(String fileConfigurations)
public int getDurationMaxSeconds()
public void setDurationMaxSeconds(int durationMaxSeconds)
public int getDurationMaxIdleSeconds()
public void setDurationMaxIdleSeconds(int durationMaxIdleSeconds)
public int getDurationMaxMessages()
public void setDurationMaxMessages(int durationMaxMessages)
public int getLogDebugMaxChars()
public void setLogDebugMaxChars(int logDebugMaxChars)
public boolean isStreamCachingEnabled()
public void setStreamCachingEnabled(boolean streamCachingEnabled)
public String getStreamCachingSpoolDirectory()
public void setStreamCachingSpoolDirectory(String streamCachingSpoolDirectory)
public String getStreamCachingSpoolCipher()
public void setStreamCachingSpoolCipher(String streamCachingSpoolCipher)
public long getStreamCachingSpoolThreshold()
public void setStreamCachingSpoolThreshold(long streamCachingSpoolThreshold)
public int getStreamCachingSpoolUsedHeapMemoryThreshold()
public void setStreamCachingSpoolUsedHeapMemoryThreshold(int streamCachingSpoolUsedHeapMemoryThreshold)
public String getStreamCachingSpoolUsedHeapMemoryLimit()
public void setStreamCachingSpoolUsedHeapMemoryLimit(String streamCachingSpoolUsedHeapMemoryLimit)
public boolean isStreamCachingAnySpoolRules()
public void setStreamCachingAnySpoolRules(boolean streamCachingAnySpoolRules)
public int getStreamCachingBufferSize()
public void setStreamCachingBufferSize(int streamCachingBufferSize)
public boolean isStreamCachingRemoveSpoolDirectoryWhenStopping()
public void setStreamCachingRemoveSpoolDirectoryWhenStopping(boolean streamCachingRemoveSpoolDirectoryWhenStopping)
public boolean isStreamCachingStatisticsEnabled()
public void setStreamCachingStatisticsEnabled(boolean streamCachingStatisticsEnabled)
public boolean isTracing()
public void setTracing(boolean tracing)
public boolean isMessageHistory()
public void setMessageHistory(boolean messageHistory)
public boolean isLogMask()
public void setLogMask(boolean logMask)
public boolean isLogExhaustedMessageBody()
public void setLogExhaustedMessageBody(boolean logExhaustedMessageBody)
public boolean isHandleFault()
public void setHandleFault(boolean handleFault)
public boolean isAutoStartup()
public void setAutoStartup(boolean autoStartup)
public boolean isAllowUseOriginalMessage()
public void setAllowUseOriginalMessage(boolean allowUseOriginalMessage)
public boolean isEndpointRuntimeStatisticsEnabled()
public void setEndpointRuntimeStatisticsEnabled(boolean endpointRuntimeStatisticsEnabled)
public boolean isUseDataType()
public void setUseDataType(boolean useDataType)
public boolean isUseBreadcrumb()
public void setUseBreadcrumb(boolean useBreadcrumb)
public org.apache.camel.ManagementStatisticsLevel getJmxManagementStatisticsLevel()
public void setJmxManagementStatisticsLevel(org.apache.camel.ManagementStatisticsLevel jmxManagementStatisticsLevel)
public String getJmxManagementNamePattern()
public void setJmxManagementNamePattern(String jmxManagementNamePattern)
public boolean isJmxCreateConnector()
public void setJmxCreateConnector(boolean jmxCreateConnector)
public boolean isUseMdcLogging()
public void setUseMdcLogging(boolean useMdcLogging)
public String getThreadNamePattern()
public void setThreadNamePattern(String threadNamePattern)
public long getDuration()
public void setDuration(long duration)
public boolean isHangupInterceptorEnabled()
public void setHangupInterceptorEnabled(boolean hangupInterceptorEnabled)
public int getDurationHitExitCode()
public void setDurationHitExitCode(int durationHitExitCode)
public String getFileWatchDirectory()
public void setFileWatchDirectory(String fileWatchDirectory)
ReloadStrategy
as well.public boolean isFileWatchDirectoryRecursively()
public void setFileWatchDirectoryRecursively(boolean fileWatchDirectoryRecursively)
ReloadStrategy
as well.public org.apache.camel.spi.ReloadStrategy getReloadStrategy()
public void setReloadStrategy(org.apache.camel.spi.ReloadStrategy reloadStrategy)
ReloadStrategy
to be used.
Notice you cannot set this value and the fileWatchDirectory as well.public MainConfigurationProperties withAutoConfigurationEnabled(boolean autoConfigurationEnabled)
Registry.bind(String, Object)
method
or by using the BindToRegistry
annotation style.
This option is default enabled.public MainConfigurationProperties withName(String name)
public MainConfigurationProperties withShutdownTimeout(int shutdownTimeout)
public MainConfigurationProperties withShutdownSuppressLoggingOnTimeout(boolean shutdownSuppressLoggingOnTimeout)
public MainConfigurationProperties withShutdownNowOnTimeout(boolean shutdownNowOnTimeout)
public MainConfigurationProperties withShutdownRoutesInReverseOrder(boolean shutdownRoutesInReverseOrder)
public MainConfigurationProperties withShutdownLogInflightExchangesOnTimeout(boolean shutdownLogInflightExchangesOnTimeout)
public MainConfigurationProperties withJmxEnabled(boolean jmxEnabled)
public MainConfigurationProperties withProducerTemplateCacheSize(int producerTemplateCacheSize)
public MainConfigurationProperties withConsumerTemplateCacheSize(int consumerTemplateCacheSize)
public MainConfigurationProperties withFileConfigurations(String fileConfigurations)
public MainConfigurationProperties withDurationMaxSeconds(int durationMaxSeconds)
public MainConfigurationProperties withDurationMaxIdleSeconds(int durationMaxIdleSeconds)
public MainConfigurationProperties withDurationMaxMessages(int durationMaxMessages)
public MainConfigurationProperties withLogDebugMaxChars(int logDebugMaxChars)
public MainConfigurationProperties withStreamCachingEnabled(boolean streamCachingEnabled)
public MainConfigurationProperties withStreamCachingSpoolDirectory(String streamCachingSpoolDirectory)
public MainConfigurationProperties withStreamCachingSpoolCipher(String streamCachingSpoolCipher)
public MainConfigurationProperties withStreamCachingSpoolThreshold(long streamCachingSpoolThreshold)
public MainConfigurationProperties withStreamCachingSpoolUsedHeapMemoryThreshold(int streamCachingSpoolUsedHeapMemoryThreshold)
public MainConfigurationProperties withStreamCachingSpoolUsedHeapMemoryLimit(String streamCachingSpoolUsedHeapMemoryLimit)
public MainConfigurationProperties withStreamCachingAnySpoolRules(boolean streamCachingAnySpoolRules)
public MainConfigurationProperties withStreamCachingBufferSize(int streamCachingBufferSize)
public MainConfigurationProperties withStreamCachingRemoveSpoolDirectoryWhenStopping(boolean streamCachingRemoveSpoolDirectoryWhenStopping)
public MainConfigurationProperties withStreamCachingStatisticsEnabled(boolean streamCachingStatisticsEnabled)
public MainConfigurationProperties withTracing(boolean tracing)
public MainConfigurationProperties withMessageHistory(boolean messageHistory)
public MainConfigurationProperties withLogMask(boolean logMask)
public MainConfigurationProperties withLogExhaustedMessageBody(boolean logExhaustedMessageBody)
public MainConfigurationProperties withHandleFault(boolean handleFault)
public MainConfigurationProperties withAutoStartup(boolean autoStartup)
public MainConfigurationProperties withAllowUseOriginalMessage(boolean allowUseOriginalMessage)
public MainConfigurationProperties withEndpointRuntimeStatisticsEnabled(boolean endpointRuntimeStatisticsEnabled)
public MainConfigurationProperties withUseDataType(boolean useDataType)
public MainConfigurationProperties withUseBreadcrumb(boolean useBreadcrumb)
public MainConfigurationProperties withJmxManagementStatisticsLevel(org.apache.camel.ManagementStatisticsLevel jmxManagementStatisticsLevel)
public MainConfigurationProperties withJmxManagementNamePattern(String jmxManagementNamePattern)
public MainConfigurationProperties withJmxCreateConnector(boolean jmxCreateConnector)
public MainConfigurationProperties withUseMdcLogging(boolean useMdcLogging)
public MainConfigurationProperties withThreadNamePattern(String threadNamePattern)
public MainConfigurationProperties withDuration(long duration)
public MainConfigurationProperties withHangupInterceptorEnabled(boolean hangupInterceptorEnabled)
public MainConfigurationProperties withDurationHitExitCode(int durationHitExitCode)
public MainConfigurationProperties withFileWatchDirectory(String fileWatchDirectory)
ReloadStrategy
as well.public MainConfigurationProperties withFileWatchDirectoryRecursively(boolean fileWatchDirectoryRecursively)
ReloadStrategy
as well.public MainConfigurationProperties withReloadStrategy(org.apache.camel.spi.ReloadStrategy reloadStrategy)
ReloadStrategy
to be used.
Notice you cannot set this value and the fileWatchDirectory as well.Apache Camel