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

commit 69b959c6a7bbf470b72fedda818ba2b27c8475d8
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Feb 16 09:31:39 2021 +0100

    Regen
---
 .../camel/springboot/catalog/components/resteasy.json     |  1 +
 components-starter/README.adoc                            |  4 +---
 .../src/main/docs/resteasy-starter.adoc                   |  3 ++-
 .../springboot/ResteasyComponentConfiguration.java        | 15 +++++++++++++++
 docs/modules/ROOT/pages/list.adoc                         |  2 +-
 docs/modules/ROOT/pages/resteasy-starter.adoc             |  3 ++-
 6 files changed, 22 insertions(+), 6 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/resteasy.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/resteasy.json
index 964d7f1..730d83c 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/resteasy.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/resteasy.json
@@ -27,6 +27,7 @@
     "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error 
Handler", "group": "consumer", "label": "consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": 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 me [...]
     "proxyConsumersClasses": { "kind": "property", "displayName": "Proxy 
Consumers Classes", "group": "consumer", "label": "consumer", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "Proxy classes for consumer 
endpoints. Multiple classes can be separated by comma." },
     "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 [...]
     "headerFilterStrategy": { "kind": "property", "displayName": "Header 
Filter Strategy", "group": "filter", "label": "filter", "required": false, 
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and 
from Camel message." }
diff --git a/components-starter/README.adoc b/components-starter/README.adoc
index 7a8f925..466b484 100644
--- a/components-starter/README.adoc
+++ b/components-starter/README.adoc
@@ -5,7 +5,7 @@ Apache Camel Spring Boot supports the following Camel artifacts 
as Spring Boot S
 == Camel Components
 
 // components: START
-Number of Camel components: 347 in 280 JAR artifacts (22 deprecated)
+Number of Camel components: 346 in 279 JAR artifacts (21 deprecated)
 
 [width="100%",cols="4,3,3,3,6",options="header"]
 |===
@@ -127,8 +127,6 @@ Number of Camel components: 347 in 280 JAR artifacts (22 
deprecated)
 
 | xref:latest@components::aws-swf-component.adoc[AWS Simple Workflow (SWF)] | 
camel-aws-swf-starter | Stable | 2.13 | *deprecated* Manage workflows in the 
AWS Simple Workflow service.
 
-| xref:latest@components::aws-translate-component.adoc[AWS Translate] | 
camel-aws-translate-starter | Stable | 3.0 | *deprecated* Translate texts using 
AWS Translate.
-
 | xref:latest@components::azure-eventhubs-component.adoc[Azure Event Hubs] | 
camel-azure-eventhubs-starter | Stable | 3.5 | The azure-eventhubs component 
that integrates Azure Event Hubs using AMQP protocol. Azure EventHubs is a 
highly scalable publish-subscribe service that can ingest millions of events 
per second and stream them to multiple consumers.
 
 | xref:latest@components::azure-storage-blob-component.adoc[Azure Storage Blob 
Service] | camel-azure-storage-blob-starter | Stable | 3.3 | Store and retrieve 
blobs from Azure Storage Blob Service using SDK v12.
diff --git 
a/components-starter/camel-resteasy-starter/src/main/docs/resteasy-starter.adoc 
b/components-starter/camel-resteasy-starter/src/main/docs/resteasy-starter.adoc
index 6d4a2cd..125e55e 100644
--- 
a/components-starter/camel-resteasy-starter/src/main/docs/resteasy-starter.adoc
+++ 
b/components-starter/camel-resteasy-starter/src/main/docs/resteasy-starter.adoc
@@ -17,7 +17,7 @@ When using resteasy with Spring Boot make sure to use the 
following Maven depend
 ----
 
 
-The component supports 7 options, which are listed below.
+The component supports 8 options, which are listed below.
 
 
 
@@ -31,5 +31,6 @@ The component supports 7 options, which are listed below.
 | *camel.component.resteasy.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. |  | 
HeaderFilterStrategy
 | *camel.component.resteasy.lazy-start-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 t [...]
 | *camel.component.resteasy.proxy-consumers-classes* | Proxy classes for 
consumer endpoints. Multiple classes can be separated by comma. |  | String
+| *camel.component.resteasy.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
 |===
 // spring-boot-auto-configure options: END
diff --git 
a/components-starter/camel-resteasy-starter/src/main/java/org/apache/camel/component/resteasy/springboot/ResteasyComponentConfiguration.java
 
b/components-starter/camel-resteasy-starter/src/main/java/org/apache/camel/component/resteasy/springboot/ResteasyComponentConfiguration.java
index ace8c16..715c240 100644
--- 
a/components-starter/camel-resteasy-starter/src/main/java/org/apache/camel/component/resteasy/springboot/ResteasyComponentConfiguration.java
+++ 
b/components-starter/camel-resteasy-starter/src/main/java/org/apache/camel/component/resteasy/springboot/ResteasyComponentConfiguration.java
@@ -63,6 +63,12 @@ public class ResteasyComponentConfiguration
      */
     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
@@ -110,6 +116,15 @@ public class ResteasyComponentConfiguration
         this.lazyStartProducer = lazyStartProducer;
     }
 
+    public Integer getResponsePayloadStreamingThreshold() {
+        return responsePayloadStreamingThreshold;
+    }
+
+    public void setResponsePayloadStreamingThreshold(
+            Integer responsePayloadStreamingThreshold) {
+        this.responsePayloadStreamingThreshold = 
responsePayloadStreamingThreshold;
+    }
+
     public Boolean getAllowJavaSerializedObject() {
         return allowJavaSerializedObject;
     }
diff --git a/docs/modules/ROOT/pages/list.adoc 
b/docs/modules/ROOT/pages/list.adoc
index 53bbb35..466b484 100644
--- a/docs/modules/ROOT/pages/list.adoc
+++ b/docs/modules/ROOT/pages/list.adoc
@@ -5,7 +5,7 @@ Apache Camel Spring Boot supports the following Camel artifacts 
as Spring Boot S
 == Camel Components
 
 // components: START
-Number of Camel components: 347 in 280 JAR artifacts (22 deprecated)
+Number of Camel components: 346 in 279 JAR artifacts (21 deprecated)
 
 [width="100%",cols="4,3,3,3,6",options="header"]
 |===
diff --git a/docs/modules/ROOT/pages/resteasy-starter.adoc 
b/docs/modules/ROOT/pages/resteasy-starter.adoc
index 6d4a2cd..125e55e 100644
--- a/docs/modules/ROOT/pages/resteasy-starter.adoc
+++ b/docs/modules/ROOT/pages/resteasy-starter.adoc
@@ -17,7 +17,7 @@ When using resteasy with Spring Boot make sure to use the 
following Maven depend
 ----
 
 
-The component supports 7 options, which are listed below.
+The component supports 8 options, which are listed below.
 
 
 
@@ -31,5 +31,6 @@ The component supports 7 options, which are listed below.
 | *camel.component.resteasy.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. |  | 
HeaderFilterStrategy
 | *camel.component.resteasy.lazy-start-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 t [...]
 | *camel.component.resteasy.proxy-consumers-classes* | Proxy classes for 
consumer endpoints. Multiple classes can be separated by comma. |  | String
+| *camel.component.resteasy.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
 |===
 // spring-boot-auto-configure options: END

Reply via email to