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 2020/03/20 10:40:37 UTC

[camel-spring-boot] branch master updated: Regen after master updates

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-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
     new 99b4f3c  Regen after master updates
99b4f3c is described below

commit 99b4f3c25d55e8b141f86bfc09677abf20339293
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 20 11:40:06 2020 +0100

    Regen after master updates
---
 .../camel/springboot/catalog/components/platform-http.json  |  3 ++-
 .../src/main/docs/platform-http-starter.adoc                |  4 ++--
 .../http/springboot/PlatformHttpComponentConfiguration.java | 13 +++++++++++++
 docs/modules/ROOT/pages/platform-http-starter.adoc          |  4 ++--
 tooling/camel-spring-boot-dependencies/pom.xml              |  5 +++++
 5 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/platform-http.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/platform-http.json
index 6c53428..c6beb66 100644
--- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/platform-http.json
+++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/platform-http.json
@@ -20,7 +20,8 @@
   },
   "componentProperties": {
     "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "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 [...]
-    "basicPropertyBinding": { "kind": "property", "displayName": "Basic Property Binding", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities" }
+    "basicPropertyBinding": { "kind": "property", "displayName": "Basic Property Binding", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities" },
+    "engine": { "kind": "property", "displayName": "Engine", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.platform.http.spi.PlatformHttpEngine", "deprecated": false, "secret": false, "description": "An HTTP Server engine implementation to serve the requests" }
   },
   "properties": {
     "path": { "kind": "path", "displayName": "Path", "group": "consumer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "description": "The path under which this endpoint serves the HTTP requests" },
diff --git a/components-starter/camel-platform-http-starter/src/main/docs/platform-http-starter.adoc b/components-starter/camel-platform-http-starter/src/main/docs/platform-http-starter.adoc
index 53e849e..9873fe2 100644
--- a/components-starter/camel-platform-http-starter/src/main/docs/platform-http-starter.adoc
+++ b/components-starter/camel-platform-http-starter/src/main/docs/platform-http-starter.adoc
@@ -17,7 +17,7 @@ When using platform-http with Spring Boot make sure to use the following Maven d
 ----
 
 
-The component supports 3 options, which are listed below.
+The component supports 4 options, which are listed below.
 
 
 
@@ -27,6 +27,6 @@ The component supports 3 options, which are listed below.
 | *camel.component.platform-http.basic-property-binding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | Boolean
 | *camel.component.platform-http.bridge-error-handler* | 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
 | *camel.component.platform-http.enabled* | Whether to enable auto configuration of the platform-http component. This is enabled by default. |  | Boolean
+| *camel.component.platform-http.engine* | An HTTP Server engine implementation to serve the requests. The option is a org.apache.camel.component.platform.http.spi.PlatformHttpEngine type. |  | String
 |===
-
 // spring-boot-auto-configure options: END
diff --git a/components-starter/camel-platform-http-starter/src/main/java/org/apache/camel/component/platform/http/springboot/PlatformHttpComponentConfiguration.java b/components-starter/camel-platform-http-starter/src/main/java/org/apache/camel/component/platform/http/springboot/PlatformHttpComponentConfiguration.java
index 9125930..86a5d3c 100644
--- a/components-starter/camel-platform-http-starter/src/main/java/org/apache/camel/component/platform/http/springboot/PlatformHttpComponentConfiguration.java
+++ b/components-starter/camel-platform-http-starter/src/main/java/org/apache/camel/component/platform/http/springboot/PlatformHttpComponentConfiguration.java
@@ -50,6 +50,11 @@ public class PlatformHttpComponentConfiguration
      * the newer property binding with additional capabilities
      */
     private Boolean basicPropertyBinding = false;
+    /**
+     * An HTTP Server engine implementation to serve the requests. The option is
+     * a org.apache.camel.component.platform.http.spi.PlatformHttpEngine type.
+     */
+    private String engine;
 
     public Boolean getBridgeErrorHandler() {
         return bridgeErrorHandler;
@@ -66,4 +71,12 @@ public class PlatformHttpComponentConfiguration
     public void setBasicPropertyBinding(Boolean basicPropertyBinding) {
         this.basicPropertyBinding = basicPropertyBinding;
     }
+
+    public String getEngine() {
+        return engine;
+    }
+
+    public void setEngine(String engine) {
+        this.engine = engine;
+    }
 }
\ No newline at end of file
diff --git a/docs/modules/ROOT/pages/platform-http-starter.adoc b/docs/modules/ROOT/pages/platform-http-starter.adoc
index 53e849e..9873fe2 100644
--- a/docs/modules/ROOT/pages/platform-http-starter.adoc
+++ b/docs/modules/ROOT/pages/platform-http-starter.adoc
@@ -17,7 +17,7 @@ When using platform-http with Spring Boot make sure to use the following Maven d
 ----
 
 
-The component supports 3 options, which are listed below.
+The component supports 4 options, which are listed below.
 
 
 
@@ -27,6 +27,6 @@ The component supports 3 options, which are listed below.
 | *camel.component.platform-http.basic-property-binding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | Boolean
 | *camel.component.platform-http.bridge-error-handler* | 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
 | *camel.component.platform-http.enabled* | Whether to enable auto configuration of the platform-http component. This is enabled by default. |  | Boolean
+| *camel.component.platform-http.engine* | An HTTP Server engine implementation to serve the requests. The option is a org.apache.camel.component.platform.http.spi.PlatformHttpEngine type. |  | String
 |===
-
 // spring-boot-auto-configure options: END
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml b/tooling/camel-spring-boot-dependencies/pom.xml
index 0d4b7bb..431a981 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -3226,6 +3226,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-platform-http-vertx</artifactId>
+        <version>3.2.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-printer</artifactId>
         <version>3.2.0-SNAPSHOT</version>
       </dependency>