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 8b164fb Regen. Fixed camel-cm-sms docs. 8b164fb is described below commit 8b164fbe60bb4a2f967c31b9b14d4ef589959450 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Jul 2 08:12:36 2019 +0200 Regen. Fixed camel-cm-sms docs. --- components/camel-cm-sms/src/main/docs/cm-sms-component.adoc | 4 ++-- .../main/java/org/apache/camel/component/cm/CMConfiguration.java | 6 +++--- components/readme.adoc | 6 +++--- docs/components/modules/ROOT/pages/cm-sms-component.adoc | 6 +++--- 4 files changed, 11 insertions(+), 11 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..08af984 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,8 +71,8 @@ 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) | *Required* 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 | 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 | *testConnectionOnStartup* (producer) | Whether to test the connection to the SMS Gateway on startup | false | boolean diff --git a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMConfiguration.java b/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMConfiguration.java index 38c45de..6c39f04 100644 --- a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMConfiguration.java +++ b/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMConfiguration.java @@ -28,14 +28,14 @@ import org.apache.camel.spi.UriParams; @UriParams public class CMConfiguration { - @UriParam @Metadata(required = true) @NotNull + @UriParam(javaType = "java.lang.String") @Metadata(required = true) private String productToken; - @UriParam @NotNull @Size(min = 1, max = 11) + @UriParam(javaType = "java.lang.String") @Metadata(required = true) private String defaultFrom; - @UriParam(defaultValue = "8") @Min(1) @Max(8) + @UriParam(defaultValue = "8", javaType = "int") private int defaultMaxNumberOfParts = 8; @UriParam private boolean testConnectionOnStartup; diff --git a/components/readme.adoc b/components/readme.adoc index 2c0757a..7750e56 100644 --- a/components/readme.adoc +++ b/components/readme.adoc @@ -1004,7 +1004,7 @@ Number of Data Formats: 45 in 37 JAR artifacts (0 deprecated) ==== Expression Languages // languages: START -Number of Languages: 16 in 10 JAR artifacts (0 deprecated) +Number of Languages: 17 in 11 JAR artifacts (0 deprecated) [width="100%",cols="4,1,5",options="header"] |=== @@ -1038,6 +1038,8 @@ Number of Languages: 16 in 10 JAR artifacts (0 deprecated) | link:camel-base/src/main/docs/tokenize-language.adoc[Tokenize] (camel-base) | 2.0 | To use Camel message body or header with a tokenizer in Camel expressions or predicates. +| link:camel-jaxp/src/main/docs/xtokenize-language.adoc[XML Tokenize] (camel-jaxp) | 2.14 | To use Camel message body or header with a XML tokenizer in Camel expressions or predicates. + | link:camel-xpath/src/main/docs/xpath-language.adoc[XPath] (camel-xpath) | 1.1 | To use XPath (XML) in Camel expressions or predicates. | link:camel-saxon/src/main/docs/xquery-language.adoc[XQuery] (camel-saxon) | 1.0 | To use XQuery (XML) in Camel expressions or predicates. @@ -1062,8 +1064,6 @@ Number of Miscellaneous Components: 32 in 32 JAR artifacts (0 deprecated) | link:camel-hystrix/src/main/docs/hystrix.adoc[Hystrix] (camel-hystrix) | 2.18 | Circuit Breaker EIP using Netflix Hystrix -| link:camel-ignite/src/main/docs/ignite.adoc[Ignite] (camel-ignite) | | Camel Ignite component - | link:camel-jasypt/src/main/docs/jasypt.adoc[Jasypt] (camel-jasypt) | 2.5 | Security using Jasypt | link:camel-kura/src/main/docs/kura.adoc[Kura] (camel-kura) | 2.15 | Using Camel with Eclipse Kura (OSGi) 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