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

oalsafi 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 52710c1b Regen
52710c1b is described below

commit 52710c1b02220b33cba91e013785b6a9282494ff
Author: Omar Al-Safi <omars...@gmail.com>
AuthorDate: Fri Nov 29 14:49:29 2019 +0100

    Regen
---
 .../camel-stomp/src/main/docs/stomp-component.adoc |  6 ++--
 .../endpoint/dsl/StompEndpointBuilderFactory.java  | 33 ++++++++++++++++++++++
 .../modules/ROOT/pages/stomp-component.adoc        |  6 ++--
 .../springboot/StompComponentConfiguration.java    | 12 ++++++++
 4 files changed, 53 insertions(+), 4 deletions(-)

diff --git a/components/camel-stomp/src/main/docs/stomp-component.adoc 
b/components/camel-stomp/src/main/docs/stomp-component.adoc
index 2eab0d8..7f1a619 100644
--- a/components/camel-stomp/src/main/docs/stomp-component.adoc
+++ b/components/camel-stomp/src/main/docs/stomp-component.adoc
@@ -85,7 +85,7 @@ with the following path and query parameters:
 |===
 
 
-=== Query Parameters (12 parameters):
+=== Query Parameters (13 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
@@ -93,6 +93,7 @@ with the following path and query parameters:
 | Name | Description | Default | Type
 | *brokerURL* (common) | *Required* The URI of the Stomp broker to connect to 
| tcp://localhost:61613 | String
 | *host* (common) | The virtual host name |  | String
+| *version* (common) | The STOMP Version |  | String
 | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions occurred while the 
consumer is trying to pickup incoming messages, or the likes, will now be 
processed as a message and handled by the routing Error Handler. By default the 
consumer will use the org.apache.camel.spi.ExceptionHandler to deal with 
exceptions, that will be logged at WARN or ERROR level and ignored. | false | 
boolean
 | *exceptionHandler* (consumer) | To let the consumer use a custom 
ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this 
option is not in use. By default the consumer will deal with exceptions, that 
will be logged at WARN or ERROR level and ignored. |  | ExceptionHandler
 | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer 
creates an exchange. |  | ExchangePattern
@@ -121,7 +122,7 @@ When using Spring Boot make sure to use the following Maven 
dependency to have s
 ----
 
 
-The component supports 15 options, which are listed below.
+The component supports 16 options, which are listed below.
 
 
 
@@ -136,6 +137,7 @@ The component supports 15 options, which are listed below.
 | *camel.component.stomp.configuration.login* | The username |  | String
 | *camel.component.stomp.configuration.passcode* | The password |  | String
 | *camel.component.stomp.configuration.ssl-context-parameters* | To configure 
security using SSLContextParameters |  | SSLContextParameters
+| *camel.component.stomp.configuration.version* | The STOMP Version |  | String
 | *camel.component.stomp.enabled* | Whether to enable auto configuration of 
the stomp component. This is enabled by default. |  | Boolean
 | *camel.component.stomp.header-filter-strategy* | To use a custom 
org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel 
message. The option is a org.apache.camel.spi.HeaderFilterStrategy type. |  | 
String
 | *camel.component.stomp.host* | The virtual host |  | String
diff --git 
a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/StompEndpointBuilderFactory.java
 
b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/StompEndpointBuilderFactory.java
index 6c036ca..7257829 100644
--- 
a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/StompEndpointBuilderFactory.java
+++ 
b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/StompEndpointBuilderFactory.java
@@ -67,6 +67,17 @@ public interface StompEndpointBuilderFactory {
             return this;
         }
         /**
+         * The STOMP Version.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         */
+        default StompEndpointConsumerBuilder version(String version) {
+            doSetProperty("version", version);
+            return this;
+        }
+        /**
          * Allows for bridging the consumer to the Camel routing Error Handler,
          * which mean any exceptions occurred while the consumer is trying to
          * pickup incoming messages, or the likes, will now be processed as a
@@ -333,6 +344,17 @@ public interface StompEndpointBuilderFactory {
             return this;
         }
         /**
+         * The STOMP Version.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         */
+        default StompEndpointProducerBuilder version(String version) {
+            doSetProperty("version", version);
+            return this;
+        }
+        /**
          * 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
@@ -546,6 +568,17 @@ public interface StompEndpointBuilderFactory {
             return this;
         }
         /**
+         * The STOMP Version.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         */
+        default StompEndpointBuilder version(String version) {
+            doSetProperty("version", version);
+            return this;
+        }
+        /**
          * The username.
          * 
          * The option is a: <code>java.lang.String</code> type.
diff --git a/docs/components/modules/ROOT/pages/stomp-component.adoc 
b/docs/components/modules/ROOT/pages/stomp-component.adoc
index ea07163..41142ac 100644
--- a/docs/components/modules/ROOT/pages/stomp-component.adoc
+++ b/docs/components/modules/ROOT/pages/stomp-component.adoc
@@ -86,7 +86,7 @@ with the following path and query parameters:
 |===
 
 
-=== Query Parameters (12 parameters):
+=== Query Parameters (13 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
@@ -94,6 +94,7 @@ with the following path and query parameters:
 | Name | Description | Default | Type
 | *brokerURL* (common) | *Required* The URI of the Stomp broker to connect to 
| tcp://localhost:61613 | String
 | *host* (common) | The virtual host name |  | String
+| *version* (common) | The STOMP Version |  | String
 | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions occurred while the 
consumer is trying to pickup incoming messages, or the likes, will now be 
processed as a message and handled by the routing Error Handler. By default the 
consumer will use the org.apache.camel.spi.ExceptionHandler to deal with 
exceptions, that will be logged at WARN or ERROR level and ignored. | false | 
boolean
 | *exceptionHandler* (consumer) | To let the consumer use a custom 
ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this 
option is not in use. By default the consumer will deal with exceptions, that 
will be logged at WARN or ERROR level and ignored. |  | ExceptionHandler
 | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer 
creates an exchange. |  | ExchangePattern
@@ -122,7 +123,7 @@ When using Spring Boot make sure to use the following Maven 
dependency to have s
 ----
 
 
-The component supports 15 options, which are listed below.
+The component supports 16 options, which are listed below.
 
 
 
@@ -137,6 +138,7 @@ The component supports 15 options, which are listed below.
 | *camel.component.stomp.configuration.login* | The username |  | String
 | *camel.component.stomp.configuration.passcode* | The password |  | String
 | *camel.component.stomp.configuration.ssl-context-parameters* | To configure 
security using SSLContextParameters |  | SSLContextParameters
+| *camel.component.stomp.configuration.version* | The STOMP Version |  | String
 | *camel.component.stomp.enabled* | Whether to enable auto configuration of 
the stomp component. This is enabled by default. |  | Boolean
 | *camel.component.stomp.header-filter-strategy* | To use a custom 
org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel 
message. The option is a org.apache.camel.spi.HeaderFilterStrategy type. |  | 
String
 | *camel.component.stomp.host* | The virtual host |  | String
diff --git 
a/platforms/spring-boot/components-starter/camel-stomp-starter/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
 
b/platforms/spring-boot/components-starter/camel-stomp-starter/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
index 81176ab..ca15594 100644
--- 
a/platforms/spring-boot/components-starter/camel-stomp-starter/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
+++ 
b/platforms/spring-boot/components-starter/camel-stomp-starter/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
@@ -198,6 +198,10 @@ public class StompComponentConfiguration
          * To configure security using SSLContextParameters
          */
         private SSLContextParameters sslContextParameters;
+        /**
+         * The STOMP Version
+         */
+        private String version;
 
         public String getHost() {
             return host;
@@ -239,5 +243,13 @@ public class StompComponentConfiguration
                 SSLContextParameters sslContextParameters) {
             this.sslContextParameters = sslContextParameters;
         }
+
+        public String getVersion() {
+            return version;
+        }
+
+        public void setVersion(String version) {
+            this.version = version;
+        }
     }
 }
\ No newline at end of file

Reply via email to