This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new f4ae2c1 Regen f4ae2c1 is described below commit f4ae2c13db1632d069dcbe7acddadb0240020323 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Jun 22 10:00:26 2019 +0200 Regen --- .../src/main/docs/cm-sms-component.adoc | 6 +- .../modules/ROOT/pages/cm-sms-component.adoc | 6 +- .../META-INF/spring-configuration-metadata.json | 268 ++++++++++----------- .../META-INF/spring-configuration-metadata.json | 268 ++++++++++----------- 4 files changed, 274 insertions(+), 274 deletions(-) diff --git a/components/camel-cm-sms/src/main/docs/cm-sms-component.adoc b/components/camel-cm-sms/src/main/docs/cm-sms-component.adoc index d40ba67..4470bc5 100644 --- a/components/camel-cm-sms/src/main/docs/cm-sms-component.adoc +++ b/components/camel-cm-sms/src/main/docs/cm-sms-component.adoc @@ -71,10 +71,10 @@ with the following path and query parameters: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *defaultFrom* (producer) | This is the sender name. The maximum length is 11 characters. | | String) -| *defaultMaxNumberOfParts* (producer) | If it is a multipart message forces the max number. Message can be truncated. Technically the gateway will first check if a message is larger than 160 characters, if so, the message will be cut into multiple 153 characters parts limited by these parameters. | 8 | Max(8L)::Int) +| *defaultFrom* (producer) | This is the sender name. The maximum length is 11 characters. | | String +| *defaultMaxNumberOfParts* (producer) | If it is a multipart message forces the max number. Message can be truncated. Technically the gateway will first check if a message is larger than 160 characters, if so, the message will be cut into multiple 153 characters parts limited by these parameters. | 8 | Max(8L)Int | *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *productToken* (producer) | *Required* The unique token to use | | String) +| *productToken* (producer) | *Required* The unique token to use | | String | *testConnectionOnStartup* (producer) | Whether to test the connection to the SMS Gateway on startup | false | boolean | *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean diff --git a/docs/components/modules/ROOT/pages/cm-sms-component.adoc b/docs/components/modules/ROOT/pages/cm-sms-component.adoc index d40ba67..4470bc5 100644 --- a/docs/components/modules/ROOT/pages/cm-sms-component.adoc +++ b/docs/components/modules/ROOT/pages/cm-sms-component.adoc @@ -71,10 +71,10 @@ with the following path and query parameters: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *defaultFrom* (producer) | This is the sender name. The maximum length is 11 characters. | | String) -| *defaultMaxNumberOfParts* (producer) | If it is a multipart message forces the max number. Message can be truncated. Technically the gateway will first check if a message is larger than 160 characters, if so, the message will be cut into multiple 153 characters parts limited by these parameters. | 8 | Max(8L)::Int) +| *defaultFrom* (producer) | This is the sender name. The maximum length is 11 characters. | | String +| *defaultMaxNumberOfParts* (producer) | If it is a multipart message forces the max number. Message can be truncated. Technically the gateway will first check if a message is larger than 160 characters, if so, the message will be cut into multiple 153 characters parts limited by these parameters. | 8 | Max(8L)Int | *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *productToken* (producer) | *Required* The unique token to use | | String) +| *productToken* (producer) | *Required* The unique token to use | | String | *testConnectionOnStartup* (producer) | Whether to test the connection to the SMS Gateway on startup | false | boolean | *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean diff --git a/examples/camel-example-main-artemis/src/main/resources/META-INF/spring-configuration-metadata.json b/examples/camel-example-main-artemis/src/main/resources/META-INF/spring-configuration-metadata.json index c787468..500e343 100644 --- a/examples/camel-example-main-artemis/src/main/resources/META-INF/spring-configuration-metadata.json +++ b/examples/camel-example-main-artemis/src/main/resources/META-INF/spring-configuration-metadata.json @@ -1,295 +1,295 @@ { "properties": [ { - "name": "camel.main.allow-use-original-message", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Sets whether to allow access to the original message from Camel's error handler, or from org.apache.camel.spi.UnitOfWork.getOriginalInMessage(). Turning this off can optimize performance, as defensive copy of the original message is not needed. Default is false." - }, - { - "name": "camel.main.auto-configuration-enabled", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Whether auto configuration of components/dataformats/languages is enabled or not. When enabled the configuration parameters are loaded from the properties component and optionally from the classpath file META-INF/services/org/apache/camel/autowire.properties. You can prefix the parameters in the properties file with: - camel.component.name.option1=value1 - camel.component.name.option2=value2 - camel.dataformat.name.option1=value1 - camel.dataformat.name.option2=valu [...] - "defaultValue": true - }, - { - "name": "camel.main.auto-startup", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Sets whether the object should automatically start when Camel starts. Important: Currently only routes can be disabled, as CamelContext's are always started. Note: When setting auto startup false on CamelContext then that takes precedence and no routes is started. You would need to start CamelContext explicit using the org.apache.camel.CamelContext.start() method, to start the context, and then you would need to start the routes manually using CamelContext.getRouteC [...] - "defaultValue": true - }, - { - "name": "camel.main.autowire-component-properties", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Whether autowiring components with properties that are of same type, which has been added to the Camel registry, as a singleton instance. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. <p/> This option is default enabled.", - "defaultValue": true - }, - { - "name": "camel.main.autowire-component-properties-allow-private-setter", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Whether autowiring components allows to use private setter method when setting the value. This may be needed in some rare situations when some configuration classes may configure via constructors over setters. But constructor configuration is more cumbersome to use via .properties files etc.", - "defaultValue": true - }, - { - "name": "camel.main.autowire-component-properties-deep", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "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. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. <p/> This option is default disabled." - }, - { - "name": "camel.main.consumer-template-cache-size", - "type": "java.lang.Integer", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Consumer template endpoints cache size.", - "defaultValue": 1000 - }, - { - "name": "camel.main.duration", - "type": "java.lang.Long", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Sets the duration (in seconds) to run the application until it should be terminated. Defaults to -1. Any value <= 0 will run forever.", - "defaultValue": -1 - }, - { - "name": "camel.main.duration-hit-exit-code", - "type": "java.lang.Integer", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Sets the exit code for the application if duration was hit" - }, - { - "name": "camel.main.duration-max-idle-seconds", - "type": "java.lang.Integer", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "To specify for how long time in seconds Camel can be idle before automatic terminating the JVM. You can use this to run Camel for a short while." - }, - { - "name": "camel.main.duration-max-messages", - "type": "java.lang.Integer", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "To specify how many messages to process by Camel before automatic terminating the JVM. You can use this to run Camel for a short while." - }, - { - "name": "camel.main.duration-max-seconds", - "type": "java.lang.Integer", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "To specify for how long time in seconds to keep running the JVM before automatic terminating the JVM. You can use this to run Camel for a short while." - }, - { - "name": "camel.main.endpoint-runtime-statistics-enabled", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Sets whether endpoint runtime statistics is enabled (gathers runtime usage of each incoming and outgoing endpoints). The default value is false." - }, - { - "name": "camel.main.file-configurations", - "type": "java.lang.String", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Directory to load additional configuration files that contains configuration values that takes precedence over any other configuration. This can be used to refer to files that may have secret configuration that has been mounted on the file system for containers. You can specify a pattern to load from sub directories and a name pattern such as /var/app/secret/*.properties, multiple directories can be separated by comma." - }, - { - "name": "camel.main.handle-fault", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Sets whether fault handling is enabled or not. Default is false." - }, - { - "name": "camel.main.hangup-interceptor-enabled", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Whether to use graceful hangup when Camel is stopping or when the JVM terminates.", - "defaultValue": true - }, - { - "name": "camel.main.hystrix.allow-maximum-size-to-diverge-from-core-size", + "name": "camel.hystrix.allow-maximum-size-to-diverge-from-core-size", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Allows the configuration for maximumSize to take effect. That value can then be equal to, or higher, than coreSize" }, { - "name": "camel.main.hystrix.circuit-breaker-enabled", + "name": "camel.hystrix.circuit-breaker-enabled", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether to use a HystrixCircuitBreaker or not. If false no circuit-breaker logic will be used and all requests permitted. <p> This is similar in effect to circuitBreakerForceClosed() except that continues tracking metrics and knowing whether it should be open/closed, this property results in not even instantiating a circuit-breaker." }, { - "name": "camel.main.hystrix.circuit-breaker-error-threshold-percentage", + "name": "camel.hystrix.circuit-breaker-error-threshold-percentage", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Error percentage threshold (as whole number such as 50) at which point the circuit breaker will trip open and reject requests. <p> It will stay tripped for the duration defined in circuitBreakerSleepWindowInMilliseconds; <p> The error percentage this is compared against comes from HystrixCommandMetrics.getHealthCounts()." }, { - "name": "camel.main.hystrix.circuit-breaker-force-closed", + "name": "camel.hystrix.circuit-breaker-force-closed", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "If true the HystrixCircuitBreaker#allowRequest() will always return true to allow requests regardless of the error percentage from HystrixCommandMetrics.getHealthCounts(). <p> The circuitBreakerForceOpen() property takes precedence so if it set to true this property does nothing." }, { - "name": "camel.main.hystrix.circuit-breaker-force-open", + "name": "camel.hystrix.circuit-breaker-force-open", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "If true the HystrixCircuitBreaker.allowRequest() will always return false, causing the circuit to be open (tripped) and reject all requests. <p> This property takes precedence over circuitBreakerForceClosed();" }, { - "name": "camel.main.hystrix.circuit-breaker-request-volume-threshold", + "name": "camel.hystrix.circuit-breaker-request-volume-threshold", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Minimum number of requests in the metricsRollingStatisticalWindowInMilliseconds() that must exist before the HystrixCircuitBreaker will trip. <p> If below this number the circuit will not trip regardless of error percentage." }, { - "name": "camel.main.hystrix.circuit-breaker-sleep-window-in-milliseconds", + "name": "camel.hystrix.circuit-breaker-sleep-window-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "The time in milliseconds after a HystrixCircuitBreaker trips open that it should wait before trying requests again." }, { - "name": "camel.main.hystrix.core-pool-size", + "name": "camel.hystrix.core-pool-size", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Core thread-pool size that gets passed to {@link java.util.concurrent.ThreadPoolExecutor#setCorePoolSize(int)}" }, { - "name": "camel.main.hystrix.execution-isolation-semaphore-max-concurrent-requests", + "name": "camel.hystrix.execution-isolation-semaphore-max-concurrent-requests", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Number of concurrent requests permitted to HystrixCommand.run(). Requests beyond the concurrent limit will be rejected. <p> Applicable only when executionIsolationStrategy == SEMAPHORE." }, { - "name": "camel.main.hystrix.execution-isolation-strategy", + "name": "camel.hystrix.execution-isolation-strategy", "type": "java.lang.String", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "What isolation strategy HystrixCommand.run() will be executed with. <p> If THREAD then it will be executed on a separate thread and concurrent requests limited by the number of threads in the thread-pool. <p> If SEMAPHORE then it will be executed on the calling thread and concurrent requests limited by the semaphore count." }, { - "name": "camel.main.hystrix.execution-isolation-thread-interrupt-on-timeout", + "name": "camel.hystrix.execution-isolation-thread-interrupt-on-timeout", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether the execution thread should attempt an interrupt (using {@link Future#cancel} ) when a thread times out. <p> Applicable only when executionIsolationStrategy() == THREAD." }, { - "name": "camel.main.hystrix.execution-timeout-enabled", + "name": "camel.hystrix.execution-timeout-enabled", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether the timeout mechanism is enabled for this command" }, { - "name": "camel.main.hystrix.execution-timeout-in-milliseconds", + "name": "camel.hystrix.execution-timeout-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Time in milliseconds at which point the command will timeout and halt execution. <p> If {@link #executionIsolationThreadInterruptOnTimeout} == true and the command is thread-isolated, the executing thread will be interrupted. If the command is semaphore-isolated and a HystrixObservableCommand, that command will get unsubscribed." }, { - "name": "camel.main.hystrix.fallback-enabled", + "name": "camel.hystrix.fallback-enabled", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether HystrixCommand.getFallback() should be attempted when failure occurs." }, { - "name": "camel.main.hystrix.fallback-isolation-semaphore-max-concurrent-requests", + "name": "camel.hystrix.fallback-isolation-semaphore-max-concurrent-requests", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Number of concurrent requests permitted to HystrixCommand.getFallback(). Requests beyond the concurrent limit will fail-fast and not attempt retrieving a fallback." }, { - "name": "camel.main.hystrix.group-key", + "name": "camel.hystrix.group-key", "type": "java.lang.String", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Sets the group key to use. The default value is CamelHystrix." }, { - "name": "camel.main.hystrix.keep-alive-time", + "name": "camel.hystrix.keep-alive-time", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Keep-alive time in minutes that gets passed to {@link ThreadPoolExecutor#setKeepAliveTime(long,TimeUnit)}" }, { - "name": "camel.main.hystrix.maximum-size", + "name": "camel.hystrix.maximum-size", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Maximum thread-pool size that gets passed to {@link ThreadPoolExecutor#setMaximumPoolSize(int)} . This is the maximum amount of concurrency that can be supported without starting to reject HystrixCommands. Please note that this setting only takes effect if you also set allowMaximumSizeToDivergeFromCoreSize" }, { - "name": "camel.main.hystrix.max-queue-size", + "name": "camel.hystrix.max-queue-size", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Max queue size that gets passed to {@link BlockingQueue} in HystrixConcurrencyStrategy.getBlockingQueue(int) This should only affect the instantiation of a threadpool - it is not eliglible to change a queue size on the fly. For that, use queueSizeRejectionThreshold()." }, { - "name": "camel.main.hystrix.metrics-health-snapshot-interval-in-milliseconds", + "name": "camel.hystrix.metrics-health-snapshot-interval-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Time in milliseconds to wait between allowing health snapshots to be taken that calculate success and error percentages and affect HystrixCircuitBreaker.isOpen() status. <p> On high-volume circuits the continual calculation of error percentage can become CPU intensive thus this controls how often it is calculated." }, { - "name": "camel.main.hystrix.metrics-rolling-percentile-bucket-size", + "name": "camel.hystrix.metrics-rolling-percentile-bucket-size", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Maximum number of values stored in each bucket of the rolling percentile. This is passed into HystrixRollingPercentile inside HystrixCommandMetrics." }, { - "name": "camel.main.hystrix.metrics-rolling-percentile-enabled", + "name": "camel.hystrix.metrics-rolling-percentile-enabled", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether percentile metrics should be captured using HystrixRollingPercentile inside HystrixCommandMetrics." }, { - "name": "camel.main.hystrix.metrics-rolling-percentile-window-buckets", + "name": "camel.hystrix.metrics-rolling-percentile-window-buckets", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Number of buckets the rolling percentile window is broken into. This is passed into HystrixRollingPercentile inside HystrixCommandMetrics." }, { - "name": "camel.main.hystrix.metrics-rolling-percentile-window-in-milliseconds", + "name": "camel.hystrix.metrics-rolling-percentile-window-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Duration of percentile rolling window in milliseconds. This is passed into HystrixRollingPercentile inside HystrixCommandMetrics." }, { - "name": "camel.main.hystrix.metrics-rolling-statistical-window-buckets", + "name": "camel.hystrix.metrics-rolling-statistical-window-buckets", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Number of buckets the rolling statistical window is broken into. This is passed into HystrixRollingNumber inside HystrixCommandMetrics." }, { - "name": "camel.main.hystrix.metrics-rolling-statistical-window-in-milliseconds", + "name": "camel.hystrix.metrics-rolling-statistical-window-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "This property sets the duration of the statistical rolling window, in milliseconds. This is how long metrics are kept for the thread pool. The window is divided into buckets and “rolls” by those increments." }, { - "name": "camel.main.hystrix.queue-size-rejection-threshold", + "name": "camel.hystrix.queue-size-rejection-threshold", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Queue size rejection threshold is an artificial max size at which rejections will occur even if {@link #maxQueueSize} has not been reached. This is done because the {@link #maxQueueSize} of a {@link BlockingQueue} can not be dynamically changed and we want to support dynamically changing the queue size that affects rejections. <p> This is used by HystrixCommand when queuing a thread for execution." }, { - "name": "camel.main.hystrix.request-log-enabled", + "name": "camel.hystrix.request-log-enabled", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether HystrixCommand execution and events should be logged to HystrixRequestLog." }, { - "name": "camel.main.hystrix.thread-pool-key", + "name": "camel.hystrix.thread-pool-key", "type": "java.lang.String", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Sets the thread pool key to use. Will by default use the same value as groupKey has been configured to use." }, { - "name": "camel.main.hystrix.thread-pool-rolling-number-statistical-window-buckets", + "name": "camel.hystrix.thread-pool-rolling-number-statistical-window-buckets", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Number of buckets the rolling statistical window is broken into. This is passed into HystrixRollingNumber inside each HystrixThreadPoolMetrics instance." }, { - "name": "camel.main.hystrix.thread-pool-rolling-number-statistical-window-in-milliseconds", + "name": "camel.hystrix.thread-pool-rolling-number-statistical-window-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Duration of statistical rolling window in milliseconds. This is passed into HystrixRollingNumber inside each HystrixThreadPoolMetrics instance." }, { + "name": "camel.main.allow-use-original-message", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Sets whether to allow access to the original message from Camel's error handler, or from org.apache.camel.spi.UnitOfWork.getOriginalInMessage(). Turning this off can optimize performance, as defensive copy of the original message is not needed. Default is false." + }, + { + "name": "camel.main.auto-configuration-enabled", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Whether auto configuration of components/dataformats/languages is enabled or not. When enabled the configuration parameters are loaded from the properties component and optionally from the classpath file META-INF/services/org/apache/camel/autowire.properties. You can prefix the parameters in the properties file with: - camel.component.name.option1=value1 - camel.component.name.option2=value2 - camel.dataformat.name.option1=value1 - camel.dataformat.name.option2=valu [...] + "defaultValue": true + }, + { + "name": "camel.main.auto-startup", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Sets whether the object should automatically start when Camel starts. Important: Currently only routes can be disabled, as CamelContext's are always started. Note: When setting auto startup false on CamelContext then that takes precedence and no routes is started. You would need to start CamelContext explicit using the org.apache.camel.CamelContext.start() method, to start the context, and then you would need to start the routes manually using CamelContext.getRouteC [...] + "defaultValue": true + }, + { + "name": "camel.main.autowire-component-properties", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Whether autowiring components with properties that are of same type, which has been added to the Camel registry, as a singleton instance. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. <p/> This option is default enabled.", + "defaultValue": true + }, + { + "name": "camel.main.autowire-component-properties-allow-private-setter", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Whether autowiring components allows to use private setter method when setting the value. This may be needed in some rare situations when some configuration classes may configure via constructors over setters. But constructor configuration is more cumbersome to use via .properties files etc.", + "defaultValue": true + }, + { + "name": "camel.main.autowire-component-properties-deep", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "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. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. <p/> This option is default disabled." + }, + { + "name": "camel.main.consumer-template-cache-size", + "type": "java.lang.Integer", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Consumer template endpoints cache size.", + "defaultValue": 1000 + }, + { + "name": "camel.main.duration", + "type": "java.lang.Long", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Sets the duration (in seconds) to run the application until it should be terminated. Defaults to -1. Any value <= 0 will run forever.", + "defaultValue": -1 + }, + { + "name": "camel.main.duration-hit-exit-code", + "type": "java.lang.Integer", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Sets the exit code for the application if duration was hit" + }, + { + "name": "camel.main.duration-max-idle-seconds", + "type": "java.lang.Integer", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "To specify for how long time in seconds Camel can be idle before automatic terminating the JVM. You can use this to run Camel for a short while." + }, + { + "name": "camel.main.duration-max-messages", + "type": "java.lang.Integer", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "To specify how many messages to process by Camel before automatic terminating the JVM. You can use this to run Camel for a short while." + }, + { + "name": "camel.main.duration-max-seconds", + "type": "java.lang.Integer", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "To specify for how long time in seconds to keep running the JVM before automatic terminating the JVM. You can use this to run Camel for a short while." + }, + { + "name": "camel.main.endpoint-runtime-statistics-enabled", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Sets whether endpoint runtime statistics is enabled (gathers runtime usage of each incoming and outgoing endpoints). The default value is false." + }, + { + "name": "camel.main.file-configurations", + "type": "java.lang.String", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Directory to load additional configuration files that contains configuration values that takes precedence over any other configuration. This can be used to refer to files that may have secret configuration that has been mounted on the file system for containers. You can specify a pattern to load from sub directories and a name pattern such as /var/app/secret/*.properties, multiple directories can be separated by comma." + }, + { + "name": "camel.main.handle-fault", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Sets whether fault handling is enabled or not. Default is false." + }, + { + "name": "camel.main.hangup-interceptor-enabled", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Whether to use graceful hangup when Camel is stopping or when the JVM terminates.", + "defaultValue": true + }, + { "name": "camel.main.jmx-create-connector", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", diff --git a/examples/camel-example-main/src/main/resources/META-INF/spring-configuration-metadata.json b/examples/camel-example-main/src/main/resources/META-INF/spring-configuration-metadata.json index 60787c4..a94ec70 100644 --- a/examples/camel-example-main/src/main/resources/META-INF/spring-configuration-metadata.json +++ b/examples/camel-example-main/src/main/resources/META-INF/spring-configuration-metadata.json @@ -1,295 +1,295 @@ { "properties": [ { - "name": "camel.main.allow-use-original-message", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Sets whether to allow access to the original message from Camel's error handler, or from org.apache.camel.spi.UnitOfWork.getOriginalInMessage(). Turning this off can optimize performance, as defensive copy of the original message is not needed. Default is false." - }, - { - "name": "camel.main.auto-configuration-enabled", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Whether auto configuration of components/dataformats/languages is enabled or not. When enabled the configuration parameters are loaded from the properties component and optionally from the classpath file META-INF/services/org/apache/camel/autowire.properties. You can prefix the parameters in the properties file with: - camel.component.name.option1=value1 - camel.component.name.option2=value2 - camel.dataformat.name.option1=value1 - camel.dataformat.name.option2=valu [...] - "defaultValue": true - }, - { - "name": "camel.main.auto-startup", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Sets whether the object should automatically start when Camel starts. Important: Currently only routes can be disabled, as CamelContext's are always started. Note: When setting auto startup false on CamelContext then that takes precedence and no routes is started. You would need to start CamelContext explicit using the org.apache.camel.CamelContext.start() method, to start the context, and then you would need to start the routes manually using CamelContext.getRouteC [...] - "defaultValue": true - }, - { - "name": "camel.main.autowire-component-properties", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Whether autowiring components with properties that are of same type, which has been added to the Camel registry, as a singleton instance. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. <p/> This option is default enabled.", - "defaultValue": true - }, - { - "name": "camel.main.autowire-component-properties-allow-private-setter", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Whether autowiring components allows to use private setter method when setting the value. This may be needed in some rare situations when some configuration classes may configure via constructors over setters. But constructor configuration is more cumbersome to use via .properties files etc.", - "defaultValue": true - }, - { - "name": "camel.main.autowire-component-properties-deep", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "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. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. <p/> This option is default disabled." - }, - { - "name": "camel.main.consumer-template-cache-size", - "type": "java.lang.Integer", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Consumer template endpoints cache size.", - "defaultValue": 1000 - }, - { - "name": "camel.main.duration", - "type": "java.lang.Long", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Sets the duration (in seconds) to run the application until it should be terminated. Defaults to -1. Any value <= 0 will run forever.", - "defaultValue": -1 - }, - { - "name": "camel.main.duration-hit-exit-code", - "type": "java.lang.Integer", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Sets the exit code for the application if duration was hit" - }, - { - "name": "camel.main.duration-max-idle-seconds", - "type": "java.lang.Integer", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "To specify for how long time in seconds Camel can be idle before automatic terminating the JVM. You can use this to run Camel for a short while." - }, - { - "name": "camel.main.duration-max-messages", - "type": "java.lang.Integer", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "To specify how many messages to process by Camel before automatic terminating the JVM. You can use this to run Camel for a short while." - }, - { - "name": "camel.main.duration-max-seconds", - "type": "java.lang.Integer", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "To specify for how long time in seconds to keep running the JVM before automatic terminating the JVM. You can use this to run Camel for a short while." - }, - { - "name": "camel.main.endpoint-runtime-statistics-enabled", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Sets whether endpoint runtime statistics is enabled (gathers runtime usage of each incoming and outgoing endpoints). The default value is false." - }, - { - "name": "camel.main.file-configurations", - "type": "java.lang.String", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Directory to load additional configuration files that contains configuration values that takes precedence over any other configuration. This can be used to refer to files that may have secret configuration that has been mounted on the file system for containers. You can specify a pattern to load from sub directories and a name pattern such as /var/app/secret/*.properties, multiple directories can be separated by comma." - }, - { - "name": "camel.main.handle-fault", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", - "description": "Sets whether fault handling is enabled or not. Default is false." - }, - { - "name": "camel.main.hangup-interceptor-enabled", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.main.MainConfigurationProperties", - "description": "Whether to use graceful hangup when Camel is stopping or when the JVM terminates.", - "defaultValue": true - }, - { - "name": "camel.main.hystrix.allow-maximum-size-to-diverge-from-core-size", + "name": "camel.hystrix.allow-maximum-size-to-diverge-from-core-size", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Allows the configuration for maximumSize to take effect. That value can then be equal to, or higher, than coreSize" }, { - "name": "camel.main.hystrix.circuit-breaker-enabled", + "name": "camel.hystrix.circuit-breaker-enabled", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether to use a HystrixCircuitBreaker or not. If false no circuit-breaker logic will be used and all requests permitted. <p> This is similar in effect to circuitBreakerForceClosed() except that continues tracking metrics and knowing whether it should be open/closed, this property results in not even instantiating a circuit-breaker." }, { - "name": "camel.main.hystrix.circuit-breaker-error-threshold-percentage", + "name": "camel.hystrix.circuit-breaker-error-threshold-percentage", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Error percentage threshold (as whole number such as 50) at which point the circuit breaker will trip open and reject requests. <p> It will stay tripped for the duration defined in circuitBreakerSleepWindowInMilliseconds; <p> The error percentage this is compared against comes from HystrixCommandMetrics.getHealthCounts()." }, { - "name": "camel.main.hystrix.circuit-breaker-force-closed", + "name": "camel.hystrix.circuit-breaker-force-closed", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "If true the HystrixCircuitBreaker#allowRequest() will always return true to allow requests regardless of the error percentage from HystrixCommandMetrics.getHealthCounts(). <p> The circuitBreakerForceOpen() property takes precedence so if it set to true this property does nothing." }, { - "name": "camel.main.hystrix.circuit-breaker-force-open", + "name": "camel.hystrix.circuit-breaker-force-open", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "If true the HystrixCircuitBreaker.allowRequest() will always return false, causing the circuit to be open (tripped) and reject all requests. <p> This property takes precedence over circuitBreakerForceClosed();" }, { - "name": "camel.main.hystrix.circuit-breaker-request-volume-threshold", + "name": "camel.hystrix.circuit-breaker-request-volume-threshold", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Minimum number of requests in the metricsRollingStatisticalWindowInMilliseconds() that must exist before the HystrixCircuitBreaker will trip. <p> If below this number the circuit will not trip regardless of error percentage." }, { - "name": "camel.main.hystrix.circuit-breaker-sleep-window-in-milliseconds", + "name": "camel.hystrix.circuit-breaker-sleep-window-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "The time in milliseconds after a HystrixCircuitBreaker trips open that it should wait before trying requests again." }, { - "name": "camel.main.hystrix.core-pool-size", + "name": "camel.hystrix.core-pool-size", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Core thread-pool size that gets passed to {@link java.util.concurrent.ThreadPoolExecutor#setCorePoolSize(int)}" }, { - "name": "camel.main.hystrix.execution-isolation-semaphore-max-concurrent-requests", + "name": "camel.hystrix.execution-isolation-semaphore-max-concurrent-requests", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Number of concurrent requests permitted to HystrixCommand.run(). Requests beyond the concurrent limit will be rejected. <p> Applicable only when executionIsolationStrategy == SEMAPHORE." }, { - "name": "camel.main.hystrix.execution-isolation-strategy", + "name": "camel.hystrix.execution-isolation-strategy", "type": "java.lang.String", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "What isolation strategy HystrixCommand.run() will be executed with. <p> If THREAD then it will be executed on a separate thread and concurrent requests limited by the number of threads in the thread-pool. <p> If SEMAPHORE then it will be executed on the calling thread and concurrent requests limited by the semaphore count." }, { - "name": "camel.main.hystrix.execution-isolation-thread-interrupt-on-timeout", + "name": "camel.hystrix.execution-isolation-thread-interrupt-on-timeout", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether the execution thread should attempt an interrupt (using {@link Future#cancel} ) when a thread times out. <p> Applicable only when executionIsolationStrategy() == THREAD." }, { - "name": "camel.main.hystrix.execution-timeout-enabled", + "name": "camel.hystrix.execution-timeout-enabled", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether the timeout mechanism is enabled for this command" }, { - "name": "camel.main.hystrix.execution-timeout-in-milliseconds", + "name": "camel.hystrix.execution-timeout-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Time in milliseconds at which point the command will timeout and halt execution. <p> If {@link #executionIsolationThreadInterruptOnTimeout} == true and the command is thread-isolated, the executing thread will be interrupted. If the command is semaphore-isolated and a HystrixObservableCommand, that command will get unsubscribed." }, { - "name": "camel.main.hystrix.fallback-enabled", + "name": "camel.hystrix.fallback-enabled", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether HystrixCommand.getFallback() should be attempted when failure occurs." }, { - "name": "camel.main.hystrix.fallback-isolation-semaphore-max-concurrent-requests", + "name": "camel.hystrix.fallback-isolation-semaphore-max-concurrent-requests", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Number of concurrent requests permitted to HystrixCommand.getFallback(). Requests beyond the concurrent limit will fail-fast and not attempt retrieving a fallback." }, { - "name": "camel.main.hystrix.group-key", + "name": "camel.hystrix.group-key", "type": "java.lang.String", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Sets the group key to use. The default value is CamelHystrix." }, { - "name": "camel.main.hystrix.keep-alive-time", + "name": "camel.hystrix.keep-alive-time", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Keep-alive time in minutes that gets passed to {@link ThreadPoolExecutor#setKeepAliveTime(long,TimeUnit)}" }, { - "name": "camel.main.hystrix.maximum-size", + "name": "camel.hystrix.maximum-size", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Maximum thread-pool size that gets passed to {@link ThreadPoolExecutor#setMaximumPoolSize(int)} . This is the maximum amount of concurrency that can be supported without starting to reject HystrixCommands. Please note that this setting only takes effect if you also set allowMaximumSizeToDivergeFromCoreSize" }, { - "name": "camel.main.hystrix.max-queue-size", + "name": "camel.hystrix.max-queue-size", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Max queue size that gets passed to {@link BlockingQueue} in HystrixConcurrencyStrategy.getBlockingQueue(int) This should only affect the instantiation of a threadpool - it is not eliglible to change a queue size on the fly. For that, use queueSizeRejectionThreshold()." }, { - "name": "camel.main.hystrix.metrics-health-snapshot-interval-in-milliseconds", + "name": "camel.hystrix.metrics-health-snapshot-interval-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Time in milliseconds to wait between allowing health snapshots to be taken that calculate success and error percentages and affect HystrixCircuitBreaker.isOpen() status. <p> On high-volume circuits the continual calculation of error percentage can become CPU intensive thus this controls how often it is calculated." }, { - "name": "camel.main.hystrix.metrics-rolling-percentile-bucket-size", + "name": "camel.hystrix.metrics-rolling-percentile-bucket-size", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Maximum number of values stored in each bucket of the rolling percentile. This is passed into HystrixRollingPercentile inside HystrixCommandMetrics." }, { - "name": "camel.main.hystrix.metrics-rolling-percentile-enabled", + "name": "camel.hystrix.metrics-rolling-percentile-enabled", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether percentile metrics should be captured using HystrixRollingPercentile inside HystrixCommandMetrics." }, { - "name": "camel.main.hystrix.metrics-rolling-percentile-window-buckets", + "name": "camel.hystrix.metrics-rolling-percentile-window-buckets", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Number of buckets the rolling percentile window is broken into. This is passed into HystrixRollingPercentile inside HystrixCommandMetrics." }, { - "name": "camel.main.hystrix.metrics-rolling-percentile-window-in-milliseconds", + "name": "camel.hystrix.metrics-rolling-percentile-window-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Duration of percentile rolling window in milliseconds. This is passed into HystrixRollingPercentile inside HystrixCommandMetrics." }, { - "name": "camel.main.hystrix.metrics-rolling-statistical-window-buckets", + "name": "camel.hystrix.metrics-rolling-statistical-window-buckets", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Number of buckets the rolling statistical window is broken into. This is passed into HystrixRollingNumber inside HystrixCommandMetrics." }, { - "name": "camel.main.hystrix.metrics-rolling-statistical-window-in-milliseconds", + "name": "camel.hystrix.metrics-rolling-statistical-window-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "This property sets the duration of the statistical rolling window, in milliseconds. This is how long metrics are kept for the thread pool. The window is divided into buckets and “rolls” by those increments." }, { - "name": "camel.main.hystrix.queue-size-rejection-threshold", + "name": "camel.hystrix.queue-size-rejection-threshold", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Queue size rejection threshold is an artificial max size at which rejections will occur even if {@link #maxQueueSize} has not been reached. This is done because the {@link #maxQueueSize} of a {@link BlockingQueue} can not be dynamically changed and we want to support dynamically changing the queue size that affects rejections. <p> This is used by HystrixCommand when queuing a thread for execution." }, { - "name": "camel.main.hystrix.request-log-enabled", + "name": "camel.hystrix.request-log-enabled", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Whether HystrixCommand execution and events should be logged to HystrixRequestLog." }, { - "name": "camel.main.hystrix.thread-pool-key", + "name": "camel.hystrix.thread-pool-key", "type": "java.lang.String", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Sets the thread pool key to use. Will by default use the same value as groupKey has been configured to use." }, { - "name": "camel.main.hystrix.thread-pool-rolling-number-statistical-window-buckets", + "name": "camel.hystrix.thread-pool-rolling-number-statistical-window-buckets", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Number of buckets the rolling statistical window is broken into. This is passed into HystrixRollingNumber inside each HystrixThreadPoolMetrics instance." }, { - "name": "camel.main.hystrix.thread-pool-rolling-number-statistical-window-in-milliseconds", + "name": "camel.hystrix.thread-pool-rolling-number-statistical-window-in-milliseconds", "type": "java.lang.Integer", "sourceType": "org.apache.camel.main.HystrixConfigurationProperties", "description": "Duration of statistical rolling window in milliseconds. This is passed into HystrixRollingNumber inside each HystrixThreadPoolMetrics instance." }, { + "name": "camel.main.allow-use-original-message", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Sets whether to allow access to the original message from Camel's error handler, or from org.apache.camel.spi.UnitOfWork.getOriginalInMessage(). Turning this off can optimize performance, as defensive copy of the original message is not needed. Default is false." + }, + { + "name": "camel.main.auto-configuration-enabled", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Whether auto configuration of components/dataformats/languages is enabled or not. When enabled the configuration parameters are loaded from the properties component and optionally from the classpath file META-INF/services/org/apache/camel/autowire.properties. You can prefix the parameters in the properties file with: - camel.component.name.option1=value1 - camel.component.name.option2=value2 - camel.dataformat.name.option1=value1 - camel.dataformat.name.option2=valu [...] + "defaultValue": true + }, + { + "name": "camel.main.auto-startup", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Sets whether the object should automatically start when Camel starts. Important: Currently only routes can be disabled, as CamelContext's are always started. Note: When setting auto startup false on CamelContext then that takes precedence and no routes is started. You would need to start CamelContext explicit using the org.apache.camel.CamelContext.start() method, to start the context, and then you would need to start the routes manually using CamelContext.getRouteC [...] + "defaultValue": true + }, + { + "name": "camel.main.autowire-component-properties", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Whether autowiring components with properties that are of same type, which has been added to the Camel registry, as a singleton instance. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. <p/> This option is default enabled.", + "defaultValue": true + }, + { + "name": "camel.main.autowire-component-properties-allow-private-setter", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Whether autowiring components allows to use private setter method when setting the value. This may be needed in some rare situations when some configuration classes may configure via constructors over setters. But constructor configuration is more cumbersome to use via .properties files etc.", + "defaultValue": true + }, + { + "name": "camel.main.autowire-component-properties-deep", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "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. This is used for convention over configuration to inject DataSource, AmazonLogin instances to the components. <p/> This option is default disabled." + }, + { + "name": "camel.main.consumer-template-cache-size", + "type": "java.lang.Integer", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Consumer template endpoints cache size.", + "defaultValue": 1000 + }, + { + "name": "camel.main.duration", + "type": "java.lang.Long", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Sets the duration (in seconds) to run the application until it should be terminated. Defaults to -1. Any value <= 0 will run forever.", + "defaultValue": -1 + }, + { + "name": "camel.main.duration-hit-exit-code", + "type": "java.lang.Integer", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Sets the exit code for the application if duration was hit" + }, + { + "name": "camel.main.duration-max-idle-seconds", + "type": "java.lang.Integer", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "To specify for how long time in seconds Camel can be idle before automatic terminating the JVM. You can use this to run Camel for a short while." + }, + { + "name": "camel.main.duration-max-messages", + "type": "java.lang.Integer", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "To specify how many messages to process by Camel before automatic terminating the JVM. You can use this to run Camel for a short while." + }, + { + "name": "camel.main.duration-max-seconds", + "type": "java.lang.Integer", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "To specify for how long time in seconds to keep running the JVM before automatic terminating the JVM. You can use this to run Camel for a short while." + }, + { + "name": "camel.main.endpoint-runtime-statistics-enabled", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Sets whether endpoint runtime statistics is enabled (gathers runtime usage of each incoming and outgoing endpoints). The default value is false." + }, + { + "name": "camel.main.file-configurations", + "type": "java.lang.String", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Directory to load additional configuration files that contains configuration values that takes precedence over any other configuration. This can be used to refer to files that may have secret configuration that has been mounted on the file system for containers. You can specify a pattern to load from sub directories and a name pattern such as /var/app/secret/*.properties, multiple directories can be separated by comma." + }, + { + "name": "camel.main.handle-fault", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", + "description": "Sets whether fault handling is enabled or not. Default is false." + }, + { + "name": "camel.main.hangup-interceptor-enabled", + "type": "java.lang.Boolean", + "sourceType": "org.apache.camel.main.MainConfigurationProperties", + "description": "Whether to use graceful hangup when Camel is stopping or when the JVM terminates.", + "defaultValue": true + }, + { "name": "camel.main.jmx-create-connector", "type": "java.lang.Boolean", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties",