You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/06/19 12:57:06 UTC

[camel] 02/02: Regen

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 85e78326b2c225a5b1c6a5bd666e71949b33432c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jun 19 14:56:28 2019 +0200

    Regen
---
 .../src/main/docs/cm-sms-component.adoc            |  6 +-
 .../camel-main-configuration-metadata.json         | 80 +++++++++++-----------
 .../modules/ROOT/pages/cm-sms-component.adoc       |  6 +-
 3 files changed, 46 insertions(+), 46 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 4470bc5..d40ba67 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/core/camel-main/src/main/resources/META-INF/camel-main-configuration-metadata.json b/core/camel-main/src/main/resources/META-INF/camel-main-configuration-metadata.json
index a5871f0..b211ae4 100644
--- a/core/camel-main/src/main/resources/META-INF/camel-main-configuration-metadata.json
+++ b/core/camel-main/src/main/resources/META-INF/camel-main-configuration-metadata.json
@@ -1,6 +1,46 @@
 {
   "properties": [
     {
+      "name": "camel.main.auto-configuration-enabled",
+      "type": "java.lang.Boolean",
+      "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.autowire-component-properties",
+      "type": "java.lang.Boolean",
+      "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-deep",
+      "type": "java.lang.Boolean",
+      "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.autowire-component-properties-allow-private-setter",
+      "type": "java.lang.Boolean",
+      "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.duration",
+      "type": "java.lang.Long",
+      "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",
+      "description": "Sets the exit code for the application if duration was hit"
+    },
+    {
+      "name": "camel.main.hangup-interceptor-enabled",
+      "type": "java.lang.Boolean",
+      "description": "Whether to use graceful hangup when Camel is stopping or when the JVM terminates.",
+      "defaultValue": true
+    },
+    {
       "name": "camel.main.name",
       "type": "java.lang.String",
       "description": "Sets the name of the CamelContext."
@@ -224,46 +264,6 @@
       "description": "Used for filtering routes routes matching the given pattern, which follows the following rules: - Match by route id - Match by route input endpoint uri The matching is using exact match, by wildcard and regular expression as documented by  {@link PatternHelper#matchPattern(String,String)} . For example to only include routes which starts with foo in their route id's, use: include=foo&#42; And to exclude routes which starts from JMS endpoints, use: exclude=jms:&#42;  [...]
     },
     {
-      "name": "camel.main.auto-configuration-enabled",
-      "type": "java.lang.Boolean",
-      "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.autowire-component-properties",
-      "type": "java.lang.Boolean",
-      "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-deep",
-      "type": "java.lang.Boolean",
-      "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.autowire-component-properties-allow-private-setter",
-      "type": "java.lang.Boolean",
-      "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.duration",
-      "type": "java.lang.Long",
-      "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",
-      "description": "Sets the exit code for the application if duration was hit"
-    },
-    {
-      "name": "camel.main.hangup-interceptor-enabled",
-      "type": "java.lang.Boolean",
-      "description": "Whether to use graceful hangup when Camel is stopping or when the JVM terminates.",
-      "defaultValue": true
-    },
-    {
       "name": "camel.main.hystrix.group-key",
       "type": "java.lang.String",
       "description": "Sets the group key to use. The default value is CamelHystrix."
diff --git a/docs/components/modules/ROOT/pages/cm-sms-component.adoc b/docs/components/modules/ROOT/pages/cm-sms-component.adoc
index 4470bc5..d40ba67 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