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-spring-boot.git
The following commit(s) were added to refs/heads/master by this push:
new d038db6 Regen
d038db6 is described below
commit d038db6ae939db1e6cf7b85165a8db24df0df19d
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Feb 15 17:44:21 2021 +0100
Regen
---
.../apache/camel/springboot/catalog/components/http.json | 1 +
.../apache/camel/springboot/catalog/components/https.json | 1 +
.../apache/camel/springboot/catalog/components/jetty.json | 6 +++---
components-starter/camel-corda-starter/pom.xml | 8 --------
.../camel-http-starter/src/main/docs/http-starter.adoc | 3 ++-
.../http/springboot/HttpComponentConfiguration.java | 15 +++++++++++++++
components-starter/camel-iota-starter/pom.xml | 12 ------------
docs/modules/ROOT/pages/http-starter.adoc | 3 ++-
8 files changed, 24 insertions(+), 25 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/http.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/http.json
index 20c6a0a..603de54 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/http.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/http.json
@@ -26,6 +26,7 @@
"componentProperties": {
"cookieStore": { "kind": "property", "displayName": "Cookie Store",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.http.client.CookieStore", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom
org.apache.http.client.CookieStore. By default the
org.apache.http.impl.client.BasicCookieStore is used which is an in-memory only
cookie store. Notice if bridgeEndpoint=true then the cookie store is f [...]
"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 [...]
+ "responsePayloadStreamingThreshold": { "kind": "property", "displayName":
"Response Payload Streaming Threshold", "group": "producer", "label":
"producer", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 8192,
"description": "This threshold in bytes controls whether the response payload
should be stored in memory as a byte array or be streaming based. Set this to
-1 to always use streaming mode." },
"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 uses
context-type=application\/x-java-serialized-object. This is by default turned
off. If you enable this then be aware that Java will des [...]
"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 [...]
"clientConnectionManager": { "kind": "property", "displayName": "Client
Connection Manager", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType":
"org.apache.http.conn.HttpClientConnectionManager", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom and shared
HttpClientConnectionManager to manage connections. If this has been configured
then this is always used for all endpoints created by this component." },
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/https.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/https.json
index 944fd37..08c5485 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/https.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/https.json
@@ -26,6 +26,7 @@
"componentProperties": {
"cookieStore": { "kind": "property", "displayName": "Cookie Store",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.http.client.CookieStore", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom
org.apache.http.client.CookieStore. By default the
org.apache.http.impl.client.BasicCookieStore is used which is an in-memory only
cookie store. Notice if bridgeEndpoint=true then the cookie store is f [...]
"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 [...]
+ "responsePayloadStreamingThreshold": { "kind": "property", "displayName":
"Response Payload Streaming Threshold", "group": "producer", "label":
"producer", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 8192,
"description": "This threshold in bytes controls whether the response payload
should be stored in memory as a byte array or be streaming based. Set this to
-1 to always use streaming mode." },
"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 uses
context-type=application\/x-java-serialized-object. This is by default turned
off. If you enable this then be aware that Java will des [...]
"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 [...]
"clientConnectionManager": { "kind": "property", "displayName": "Client
Connection Manager", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType":
"org.apache.http.conn.HttpClientConnectionManager", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom and shared
HttpClientConnectionManager to manage connections. If this has been configured
then this is always used for all endpoints created by this component." },
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
index 8f2c1be..b7e1527 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
@@ -83,12 +83,12 @@
"filterInitParameters": { "kind": "parameter", "displayName": "Filter Init
Parameters", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"java.util.Map<java.lang.String, java.lang.String>", "prefix": "filter.",
"multiValue": true, "deprecated": false, "autowired": false, "secret": false,
"description": "Configuration of the filter init parameters. These parameters
will be applied to the filter list before starting the jett [...]
"filters": { "kind": "parameter", "displayName": "Filters", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"array", "javaType": "java.util.List<javax.servlet.Filter>", "deprecated":
false, "autowired": false, "secret": false, "description": "Allows using a
custom filters which is putted into a list and can be find in the Registry.
Multiple values can be separated by comma." },
"handlers": { "kind": "parameter", "displayName": "Handlers", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"array", "javaType": "java.util.List<org.eclipse.jetty.server.Handler>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Specifies a comma-delimited set of Handler instances to lookup in your
Registry. These handlers are added to the Jetty servlet context (for example,
to add security). Important: You can not [...]
+ "mapHttpMessageBody": { "kind": "parameter", "displayName": "Map Http
Message Body", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "If this option is true then IN exchange Body of the exchange
will be mapped to HTTP body. Setting this to false will avoid the HTTP
mapping." },
+ "mapHttpMessageFormUrlEncodedBody": { "kind": "parameter", "displayName":
"Map Http Message Form Url Encoded Body", "group": "consumer (advanced)",
"label": "consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "If this option is true then IN exchange
Form Encoded body of the exchange will be mapped to HTTP. Setting this to false
will avoid the HTTP Form Encoded [...]
+ "mapHttpMessageHeaders": { "kind": "parameter", "displayName": "Map Http
Message Headers", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "If this option is true then IN exchange Headers of the exchange
will be mapped to HTTP headers. Setting this to false will avoid the HTTP
Headers mapping." },
"multipartFilter": { "kind": "parameter", "displayName": "Multipart
Filter", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType": "javax.servlet.Filter",
"deprecated": false, "autowired": false, "secret": false, "description":
"Allows using a custom multipart filter. Note: setting multipartFilterRef
forces the value of enableMultipartFilter to true." },
"optionsEnabled": { "kind": "parameter", "displayName": "Options Enabled",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Specifies whether to enable HTTP OPTIONS for this Servlet consumer. By default
OPTIONS is turned off." },
"traceEnabled": { "kind": "parameter", "displayName": "Trace Enabled",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Specifies whether to enable HTTP TRACE for this Servlet consumer. By default
TRACE is turned off." },
- "mapHttpMessageBody": { "kind": "parameter", "displayName": "Map Http
Message Body", "group": "advanced", "label": "advanced", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "If this option is
true then IN exchange Body of the exchange will be mapped to HTTP body. Setting
this to false will avoid the HTTP mapping." },
- "mapHttpMessageFormUrlEncodedBody": { "kind": "parameter", "displayName":
"Map Http Message Form Url Encoded Body", "group": "advanced", "label":
"advanced", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "If this option is true then IN exchange Form Encoded body of
the exchange will be mapped to HTTP. Setting this to false will avoid the HTTP
Form Encoded body mapping." },
- "mapHttpMessageHeaders": { "kind": "parameter", "displayName": "Map Http
Message Headers", "group": "advanced", "label": "advanced", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "If this option is
true then IN exchange Headers of the exchange will be mapped to HTTP headers.
Setting this to false will avoid the HTTP Headers mapping." },
"sslContextParameters": { "kind": "parameter", "displayName": "Ssl Context
Parameters", "group": "security", "label": "security", "required": false,
"type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"autowired": false, "secret": false, "description": "To configure security
using SSLContextParameters" }
}
}
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-http-starter/src/main/docs/http-starter.adoc
b/components-starter/camel-http-starter/src/main/docs/http-starter.adoc
index c6e341d..3e9851f 100644
--- a/components-starter/camel-http-starter/src/main/docs/http-starter.adoc
+++ b/components-starter/camel-http-starter/src/main/docs/http-starter.adoc
@@ -17,7 +17,7 @@ When using http with Spring Boot make sure to use the
following Maven dependency
----
-The component supports 27 options, which are listed below.
+The component supports 28 options, which are listed below.
@@ -47,6 +47,7 @@ The component supports 27 options, which are listed below.
| *camel.component.http.proxy-auth-password* | Proxy authentication password |
| String
| *camel.component.http.proxy-auth-port* | Proxy authentication port | |
Integer
| *camel.component.http.proxy-auth-username* | Proxy authentication username |
| String
+| *camel.component.http.response-payload-streaming-threshold* | This threshold
in bytes controls whether the response payload should be stored in memory as a
byte array or be streaming based. Set this to -1 to always use streaming mode.
| 8192 | Integer
| *camel.component.http.socket-timeout* | Defines the socket timeout in
milliseconds, which is the timeout for waiting for data or, put differently, a
maximum period inactivity between two consecutive data packets). A timeout
value of zero is interpreted as an infinite timeout. A negative value is
interpreted as undefined (system default). | -1 | Integer
| *camel.component.http.ssl-context-parameters* | To configure security using
SSLContextParameters. Important: Only one instance of
org.apache.camel.support.jsse.SSLContextParameters is supported per
HttpComponent. If you need to use 2 or more different instances, you need to
define a new HttpComponent per instance you need. The option is a
org.apache.camel.support.jsse.SSLContextParameters type. | |
SSLContextParameters
| *camel.component.http.use-global-ssl-context-parameters* | Enable usage of
global SSL context parameters. | false | Boolean
diff --git
a/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
b/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
index 8e3b40f..e972da4 100644
---
a/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
+++
b/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
@@ -66,6 +66,12 @@ public class HttpComponentConfiguration
*/
private Boolean lazyStartProducer = false;
/**
+ * This threshold in bytes controls whether the response payload should be
+ * stored in memory as a byte array or be streaming based. Set this to -1
to
+ * always use streaming mode.
+ */
+ private Integer responsePayloadStreamingThreshold = 8192;
+ /**
* Whether to allow java serialization when a request uses
* context-type=application/x-java-serialized-object. This is by default
* turned off. If you enable this then be aware that Java will deserialize
@@ -215,6 +221,15 @@ public class HttpComponentConfiguration
this.lazyStartProducer = lazyStartProducer;
}
+ public Integer getResponsePayloadStreamingThreshold() {
+ return responsePayloadStreamingThreshold;
+ }
+
+ public void setResponsePayloadStreamingThreshold(
+ Integer responsePayloadStreamingThreshold) {
+ this.responsePayloadStreamingThreshold =
responsePayloadStreamingThreshold;
+ }
+
public Boolean getAllowJavaSerializedObject() {
return allowJavaSerializedObject;
}
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/docs/modules/ROOT/pages/http-starter.adoc
b/docs/modules/ROOT/pages/http-starter.adoc
index c6e341d..3e9851f 100644
--- a/docs/modules/ROOT/pages/http-starter.adoc
+++ b/docs/modules/ROOT/pages/http-starter.adoc
@@ -17,7 +17,7 @@ When using http with Spring Boot make sure to use the
following Maven dependency
----
-The component supports 27 options, which are listed below.
+The component supports 28 options, which are listed below.
@@ -47,6 +47,7 @@ The component supports 27 options, which are listed below.
| *camel.component.http.proxy-auth-password* | Proxy authentication password |
| String
| *camel.component.http.proxy-auth-port* | Proxy authentication port | |
Integer
| *camel.component.http.proxy-auth-username* | Proxy authentication username |
| String
+| *camel.component.http.response-payload-streaming-threshold* | This threshold
in bytes controls whether the response payload should be stored in memory as a
byte array or be streaming based. Set this to -1 to always use streaming mode.
| 8192 | Integer
| *camel.component.http.socket-timeout* | Defines the socket timeout in
milliseconds, which is the timeout for waiting for data or, put differently, a
maximum period inactivity between two consecutive data packets). A timeout
value of zero is interpreted as an infinite timeout. A negative value is
interpreted as undefined (system default). | -1 | Integer
| *camel.component.http.ssl-context-parameters* | To configure security using
SSLContextParameters. Important: Only one instance of
org.apache.camel.support.jsse.SSLContextParameters is supported per
HttpComponent. If you need to use 2 or more different instances, you need to
define a new HttpComponent per instance you need. The option is a
org.apache.camel.support.jsse.SSLContextParameters type. | |
SSLContextParameters
| *camel.component.http.use-global-ssl-context-parameters* | Enable usage of
global SSL context parameters. | false | Boolean