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

commit bb580c056b8f2b6d5b716f9b905a5eeff4bf4bdc
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Sun Oct 11 15:34:38 2020 +0200

    Regen and fixed CS
---
 .../component/aws2/s3/integration/S3ConsumerIntegrationTest.java      | 3 ++-
 docs/components/modules/ROOT/pages/aws2-s3-component.adoc             | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ConsumerIntegrationTest.java
 
b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ConsumerIntegrationTest.java
index f301258..4ba37f0 100644
--- 
a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ConsumerIntegrationTest.java
+++ 
b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ConsumerIntegrationTest.java
@@ -201,7 +201,8 @@ public class S3ConsumerIntegrationTest extends 
CamelTestSupport {
                 String includeBodyFalseAutoCloseFalse = 
String.format(template, false, false);
                 String includeBodyFalseAutoCloseTrue = String.format(template, 
false, true);
                 
from("direct:includeBodyTrueAutoCloseTrue").pollEnrich(includeBodyTrueAutoCloseTrue,
 5000).to("mock:result");
-                
from("direct:includeBodyFalseAutoCloseFalse").pollEnrich(includeBodyFalseAutoCloseFalse,
 5000).to("mock:result");
+                
from("direct:includeBodyFalseAutoCloseFalse").pollEnrich(includeBodyFalseAutoCloseFalse,
 5000)
+                        .to("mock:result");
                 
from("direct:includeBodyFalseAutoCloseTrue").pollEnrich(includeBodyFalseAutoCloseTrue,
 5000).to("mock:result");
 
                 String awsEndpoint = 
"aws2-s3://mycamel?autoCreateBucket=false";
diff --git a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc 
b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc
index 203b3b4..da54118 100644
--- a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc
@@ -80,11 +80,11 @@ The AWS 2 S3 Storage Service component supports 42 options, 
which are listed bel
 | *destinationBucketPrefix* (consumer) | Define the destination bucket prefix 
to use when an object must be moved and moveAfterRead is set to true. |  | 
String
 | *destinationBucketSuffix* (consumer) | Define the destination bucket suffix 
to use when an object must be moved and moveAfterRead is set to true. |  | 
String
 | *fileName* (consumer) | To get the object from the bucket with the given 
file name |  | String
-| *includeBody* (consumer) | If it is true, the S3Object exchange will be 
consumed and put into the body and closed. If false the S3Object stream will be 
put raw into the body and the headers will be set with the S3 object metadata. 
This option is strongly related to autocloseBody option. In case of setting 
includeBody to true because the S3Object stream will be consumed then it will 
also be closed in case of includeBody false then it will be up to the caller to 
close the S3Object stream [...]
+| *includeBody* (consumer) | If it is true, the exchange body will be set to a 
stream to the contents of the file. If false, the headers will be set with the 
S3 object metadata, but the body will be null. This option is strongly related 
to autocloseBody option. In case of setting includeBody to true and 
autocloseBody to false, it will be up to the caller to close the S3Object 
stream. Setting autocloseBody to true, will close the S3Object stream 
automatically. | true | boolean
 | *includeFolders* (consumer) | If it is true, the folders/directories will be 
consumed. If it is false, they will be ignored, and Exchanges will not be 
created for those | true | boolean
 | *moveAfterRead* (consumer) | Move objects from S3 bucket to a different 
bucket after they have been retrieved. To accomplish the operation the 
destinationBucket option must be set. The copy bucket operation is only 
performed if the Exchange is committed. If a rollback occurs, the object is not 
moved. | false | boolean
 | *prefix* (consumer) | The prefix which is used in the 
com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we 
are interested in. |  | String
-| *autocloseBody* (consumer) | If this option is true and includeBody is 
false, then the S3Object.close() method will be called on exchange completion. 
This option is strongly related to includeBody option. In case of setting 
includeBody to false and autocloseBody to false, it will be up to the caller to 
close the S3Object stream. Setting autocloseBody to true, will close the 
S3Object stream automatically. | true | boolean
+| *autocloseBody* (consumer) | If this option is true and includeBody is true, 
then the S3Object.close() method will be called on exchange completion. This 
option is strongly related to includeBody option. In case of setting 
includeBody to true and autocloseBody to false, it will be up to the caller to 
close the S3Object stream. Setting autocloseBody to true, will close the 
S3Object stream automatically. | true | boolean
 | *deleteAfterWrite* (producer) | Delete file object after the S3 file has 
been uploaded | false | boolean
 | *keyName* (producer) | Setting the key name for an element in the bucket 
through endpoint parameter |  | String
 | *lazyStartProducer* (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 
then creating and [...]

Reply via email to