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 e1f0579 [create-pull-request] automated change
e1f0579 is described below
commit e1f05794fe78452701a7e514205debe2ea784dab
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Feb 18 00:47:14 2021 +0000
[create-pull-request] automated change
---
.../camel/springboot/catalog/components/vertx-http.json | 2 ++
components-starter/camel-corda-starter/pom.xml | 8 --------
components-starter/camel-iota-starter/pom.xml | 12 ------------
.../src/main/docs/vertx-http-starter.adoc | 3 ++-
.../http/springboot/VertxHttpComponentConfiguration.java | 13 +++++++++++++
docs/modules/ROOT/pages/vertx-http-starter.adoc | 3 ++-
6 files changed, 19 insertions(+), 22 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json
index ba505f6..1f94ec9 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json
@@ -23,6 +23,7 @@
},
"componentProperties": {
"lazyStartProducer": { "kind": "property", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "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 star [...]
+ "responsePayloadAsByteArray": { "kind": "property", "displayName":
"Response Payload As Byte Array", "group": "producer", "label": "producer",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the response body should be byte or as
io.vertx.core.buffer.Buffer" },
"allowJavaSerializedObject": { "kind": "property", "displayName": "Allow
Java Serialized Object", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether to allow java serialization when a request has the Content-Type
application\/x-java-serialized-object This is disabled by default. If you
enable this, be aware that Java will deseria [...]
"autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which t [...]
"vertx": { "kind": "property", "displayName": "Vertx", "group":
"advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": false,
"secret": false, "description": "To use an existing vertx instead of creating a
new instance" },
@@ -48,6 +49,7 @@
"httpMethod": { "kind": "parameter", "displayName": "Http Method",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "io.vertx.core.http.HttpMethod", "enum": [ "OPTIONS", "GET",
"HEAD", "POST", "PUT", "DELETE", "TRACE", "CONNECT", "PATCH", "OTHER" ],
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description" [...]
"lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "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 sta [...]
"okStatusCodeRange": { "kind": "parameter", "displayName": "Ok Status Code
Range", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "200-299", "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The status codes which
are considered a success response. The values [...]
+ "responsePayloadAsByteArray": { "kind": "parameter", "displayName":
"Response Payload As Byte Array", "group": "producer", "label": "producer",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Whether the response
body should be byte or as io.vertx.core.b [...]
"sessionManagement": { "kind": "parameter", "displayName": "Session
Management", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Enables session
management via WebClientSession. By default the client is configur [...]
"throwExceptionOnFailure": { "kind": "parameter", "displayName": "Throw
Exception On Failure", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Disable throwing
HttpOperationFailedException in case of failed respo [...]
"timeout": { "kind": "parameter", "displayName": "Timeout", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": -1, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The amount of time in
milliseconds after which if the request does not return any data within the
timeout per [...]
diff --git a/components-starter/camel-corda-starter/pom.xml
b/components-starter/camel-corda-starter/pom.xml
index 4aa7023..b215b27 100644
--- a/components-starter/camel-corda-starter/pom.xml
+++ b/components-starter/camel-corda-starter/pom.xml
@@ -41,14 +41,6 @@
<!--START OF GENERATED CODE-->
<exclusions>
<exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </exclusion>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- </exclusion>
- <exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</exclusion>
diff --git a/components-starter/camel-iota-starter/pom.xml
b/components-starter/camel-iota-starter/pom.xml
index 3656ac0..1cdd52f 100644
--- a/components-starter/camel-iota-starter/pom.xml
+++ b/components-starter/camel-iota-starter/pom.xml
@@ -38,18 +38,6 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-iota</artifactId>
<version>${camel-version}</version>
- <!--START OF GENERATED CODE-->
- <exclusions>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </exclusion>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- </exclusion>
- </exclusions>
- <!--END OF GENERATED CODE-->
</dependency>
<!--START OF GENERATED CODE-->
<dependency>
diff --git
a/components-starter/camel-vertx-http-starter/src/main/docs/vertx-http-starter.adoc
b/components-starter/camel-vertx-http-starter/src/main/docs/vertx-http-starter.adoc
index d1cb91d..31c7451 100644
---
a/components-starter/camel-vertx-http-starter/src/main/docs/vertx-http-starter.adoc
+++
b/components-starter/camel-vertx-http-starter/src/main/docs/vertx-http-starter.adoc
@@ -17,7 +17,7 @@ When using vertx-http with Spring Boot make sure to use the
following Maven depe
----
-The component supports 18 options, which are listed below.
+The component supports 19 options, which are listed below.
@@ -37,6 +37,7 @@ The component supports 18 options, which are listed below.
| *camel.component.vertx-http.proxy-port* | The proxy server port | | Integer
| *camel.component.vertx-http.proxy-type* | The proxy server type | |
ProxyType
| *camel.component.vertx-http.proxy-username* | The proxy server username if
authentication is required | | String
+| *camel.component.vertx-http.response-payload-as-byte-array* | Whether the
response body should be byte or as io.vertx.core.buffer.Buffer | true | Boolean
| *camel.component.vertx-http.ssl-context-parameters* | To configure security
using SSLContextParameters. The option is a
org.apache.camel.support.jsse.SSLContextParameters type. | |
SSLContextParameters
| *camel.component.vertx-http.use-global-ssl-context-parameters* | Enable
usage of global SSL context parameters | false | Boolean
| *camel.component.vertx-http.vertx* | To use an existing vertx instead of
creating a new instance. The option is a io.vertx.core.Vertx type. | | Vertx
diff --git
a/components-starter/camel-vertx-http-starter/src/main/java/org/apache/camel/component/vertx/http/springboot/VertxHttpComponentConfiguration.java
b/components-starter/camel-vertx-http-starter/src/main/java/org/apache/camel/component/vertx/http/springboot/VertxHttpComponentConfiguration.java
index 71c0087..621329b 100644
---
a/components-starter/camel-vertx-http-starter/src/main/java/org/apache/camel/component/vertx/http/springboot/VertxHttpComponentConfiguration.java
+++
b/components-starter/camel-vertx-http-starter/src/main/java/org/apache/camel/component/vertx/http/springboot/VertxHttpComponentConfiguration.java
@@ -54,6 +54,11 @@ public class VertxHttpComponentConfiguration
*/
private Boolean lazyStartProducer = false;
/**
+ * Whether the response body should be byte or as
+ * io.vertx.core.buffer.Buffer
+ */
+ private Boolean responsePayloadAsByteArray = true;
+ /**
* Whether to allow java serialization when a request has the Content-Type
* application/x-java-serialized-object This is disabled by default. If you
* enable this, be aware that Java will deserialize the incoming data from
@@ -141,6 +146,14 @@ public class VertxHttpComponentConfiguration
this.lazyStartProducer = lazyStartProducer;
}
+ public Boolean getResponsePayloadAsByteArray() {
+ return responsePayloadAsByteArray;
+ }
+
+ public void setResponsePayloadAsByteArray(Boolean
responsePayloadAsByteArray) {
+ this.responsePayloadAsByteArray = responsePayloadAsByteArray;
+ }
+
public Boolean getAllowJavaSerializedObject() {
return allowJavaSerializedObject;
}
diff --git a/docs/modules/ROOT/pages/vertx-http-starter.adoc
b/docs/modules/ROOT/pages/vertx-http-starter.adoc
index d1cb91d..31c7451 100644
--- a/docs/modules/ROOT/pages/vertx-http-starter.adoc
+++ b/docs/modules/ROOT/pages/vertx-http-starter.adoc
@@ -17,7 +17,7 @@ When using vertx-http with Spring Boot make sure to use the
following Maven depe
----
-The component supports 18 options, which are listed below.
+The component supports 19 options, which are listed below.
@@ -37,6 +37,7 @@ The component supports 18 options, which are listed below.
| *camel.component.vertx-http.proxy-port* | The proxy server port | | Integer
| *camel.component.vertx-http.proxy-type* | The proxy server type | |
ProxyType
| *camel.component.vertx-http.proxy-username* | The proxy server username if
authentication is required | | String
+| *camel.component.vertx-http.response-payload-as-byte-array* | Whether the
response body should be byte or as io.vertx.core.buffer.Buffer | true | Boolean
| *camel.component.vertx-http.ssl-context-parameters* | To configure security
using SSLContextParameters. The option is a
org.apache.camel.support.jsse.SSLContextParameters type. | |
SSLContextParameters
| *camel.component.vertx-http.use-global-ssl-context-parameters* | Enable
usage of global SSL context parameters | false | Boolean
| *camel.component.vertx-http.vertx* | To use an existing vertx instead of
creating a new instance. The option is a io.vertx.core.Vertx type. | | Vertx