This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new 6827cb317f2 Regen
6827cb317f2 is described below

commit 6827cb317f226badf4b640b520f748d7730e3f40
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Oct 23 15:34:21 2023 +0200

    Regen
---
 .../apache/camel/springboot/catalog/components/aws2-s3.json |  8 ++++----
 .../camel-aws2-s3-starter/src/main/docs/aws2-s3.json        |  4 ++--
 .../aws2/s3/springboot/AWS2S3ComponentConfiguration.java    | 13 +++++++++----
 3 files changed, 15 insertions(+), 10 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json
index 184a6a5933a..7b729401182 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json
@@ -53,10 +53,10 @@
     "deleteAfterWrite": { "index": 28, "kind": "property", "displayName": 
"Delete After Write", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", 
"configurationField": "configuration", "description": "Delete file object after 
the S3 file has been uploaded" },
     "keyName": { "index": 29, "kind": "property", "displayName": "Key Name", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configuration", "description": "Setting the key name for an element in the 
bucket through endpoint parameter" },
     "lazyStartProducer": { "index": 30, "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 fai [...]
-    "multiPartUpload": { "index": 31, "kind": "property", "displayName": 
"Multi Part Upload", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", 
"configurationField": "configuration", "description": "If it is true, camel 
will upload the file with multi part format, the part size [...]
+    "multiPartUpload": { "index": 31, "kind": "property", "displayName": 
"Multi Part Upload", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", 
"configurationField": "configuration", "description": "If it is true, camel 
will upload the file with multi-part format, the part size [...]
     "namingStrategy": { "index": 32, "kind": "property", "displayName": 
"Naming Strategy", "group": "producer", "label": "producer", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.aws2.s3.stream.AWSS3NamingStrategyEnum", "enum": [ 
"progressive", "random" ], "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": "progressive", "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configuratio [...]
     "operation": { "index": 33, "kind": "property", "displayName": 
"Operation", "group": "producer", "label": "producer", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.aws2.s3.AWS2S3Operations", "enum": [ "copyObject", 
"listObjects", "deleteObject", "deleteBucket", "listBuckets", "getObject", 
"getObjectRange", "createDownloadLink" ], "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Con [...]
-    "partSize": { "index": 34, "kind": "property", "displayName": "Part Size", 
"group": "producer", "label": "producer", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 26214400, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configuration", "description": "Setup the partSize which is used in multi part 
upload, the default size is 25M." },
+    "partSize": { "index": 34, "kind": "property", "displayName": "Part Size", 
"group": "producer", "label": "producer", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 26214400, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configuration", "description": "Setup the partSize which is used in multi-part 
upload, the default size is 25M. Camel will onl [...]
     "restartingPolicy": { "index": 35, "kind": "property", "displayName": 
"Restarting Policy", "group": "producer", "label": "producer", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.component.aws2.s3.stream.AWSS3RestartingPolicyEnum", "enum": 
[ "override", "lastPart" ], "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": "override", "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configurat [...]
     "storageClass": { "index": 36, "kind": "property", "displayName": "Storage 
Class", "group": "producer", "label": "producer", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configuration", "description": "The storage class to set in the 
com.amazonaws.services.s3.model.PutObjectRequest request." },
     "streamingUploadMode": { "index": 37, "kind": "property", "displayName": 
"Streaming Upload Mode", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", 
"configurationField": "configuration", "description": "When stream mode is true 
the upload to bucket will be done in streaming" },
@@ -149,10 +149,10 @@
     "bufferSize": { "index": 33, "kind": "parameter", "displayName": "Buffer 
Size", "group": "producer", "label": "producer", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 1000000, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configuration", "description": "The buffer size (in bytes) in streaming upload 
mode" },
     "deleteAfterWrite": { "index": 34, "kind": "parameter", "displayName": 
"Delete After Write", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", 
"configurationField": "configuration", "description": "Delete file object after 
the S3 file has been uploaded" },
     "keyName": { "index": 35, "kind": "parameter", "displayName": "Key Name", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configuration", "description": "Setting the key name for an element in the 
bucket through endpoint parameter" },
-    "multiPartUpload": { "index": 36, "kind": "parameter", "displayName": 
"Multi Part Upload", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", 
"configurationField": "configuration", "description": "If it is true, camel 
will upload the file with multi part format, the part siz [...]
+    "multiPartUpload": { "index": 36, "kind": "parameter", "displayName": 
"Multi Part Upload", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", 
"configurationField": "configuration", "description": "If it is true, camel 
will upload the file with multi-part format, the part siz [...]
     "namingStrategy": { "index": 37, "kind": "parameter", "displayName": 
"Naming Strategy", "group": "producer", "label": "producer", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.aws2.s3.stream.AWSS3NamingStrategyEnum", "enum": [ 
"progressive", "random" ], "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": "progressive", "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configurati [...]
     "operation": { "index": 38, "kind": "parameter", "displayName": 
"Operation", "group": "producer", "label": "producer", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.aws2.s3.AWS2S3Operations", "enum": [ "copyObject", 
"listObjects", "deleteObject", "deleteBucket", "listBuckets", "getObject", 
"getObjectRange", "createDownloadLink" ], "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Co [...]
-    "partSize": { "index": 39, "kind": "parameter", "displayName": "Part 
Size", "group": "producer", "label": "producer", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 26214400, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configuration", "description": "Setup the partSize which is used in multi part 
upload, the default size is 25M." },
+    "partSize": { "index": 39, "kind": "parameter", "displayName": "Part 
Size", "group": "producer", "label": "producer", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 26214400, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configuration", "description": "Setup the partSize which is used in multi-part 
upload, the default size is 25M. Camel will on [...]
     "restartingPolicy": { "index": 40, "kind": "parameter", "displayName": 
"Restarting Policy", "group": "producer", "label": "producer", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.component.aws2.s3.stream.AWSS3RestartingPolicyEnum", "enum": 
[ "override", "lastPart" ], "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": "override", "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configura [...]
     "storageClass": { "index": 41, "kind": "parameter", "displayName": 
"Storage Class", "group": "producer", "label": "producer", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": 
"configuration", "description": "The storage class to set in the 
com.amazonaws.services.s3.model.PutObjectRequest request." },
     "streamingUploadMode": { "index": 42, "kind": "parameter", "displayName": 
"Streaming Upload Mode", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", 
"configurationField": "configuration", "description": "When stream mode is true 
the upload to bucket will be done in streaming" },
diff --git 
a/components-starter/camel-aws2-s3-starter/src/main/docs/aws2-s3.json 
b/components-starter/camel-aws2-s3-starter/src/main/docs/aws2-s3.json
index bf9b4e496a3..644f79b563a 100644
--- a/components-starter/camel-aws2-s3-starter/src/main/docs/aws2-s3.json
+++ b/components-starter/camel-aws2-s3-starter/src/main/docs/aws2-s3.json
@@ -236,7 +236,7 @@
     {
       "name": "camel.component.aws2-s3.multi-part-upload",
       "type": "java.lang.Boolean",
-      "description": "If it is true, camel will upload the file with multi 
part format, the part size is decided by the option of partSize",
+      "description": "If it is true, camel will upload the file with 
multi-part format, the part size is decided by the partSize option. Camel will 
only do multi-part uploads for files that are larger than the part-size 
thresholds. Files that are smaller will be uploaded in a single operation.",
       "sourceType": 
"org.apache.camel.component.aws2.s3.springboot.AWS2S3ComponentConfiguration",
       "defaultValue": false
     },
@@ -262,7 +262,7 @@
     {
       "name": "camel.component.aws2-s3.part-size",
       "type": "java.lang.Long",
-      "description": "Setup the partSize which is used in multi part upload, 
the default size is 25M.",
+      "description": "Setup the partSize which is used in multi-part upload, 
the default size is 25M. Camel will only do multi-part uploads for files that 
are larger than the part-size thresholds. Files that are smaller will be 
uploaded in a single operation.",
       "sourceType": 
"org.apache.camel.component.aws2.s3.springboot.AWS2S3ComponentConfiguration",
       "defaultValue": 26214400
     },
diff --git 
a/components-starter/camel-aws2-s3-starter/src/main/java/org/apache/camel/component/aws2/s3/springboot/AWS2S3ComponentConfiguration.java
 
b/components-starter/camel-aws2-s3-starter/src/main/java/org/apache/camel/component/aws2/s3/springboot/AWS2S3ComponentConfiguration.java
index 9a60f3a339f..96811fbe090 100644
--- 
a/components-starter/camel-aws2-s3-starter/src/main/java/org/apache/camel/component/aws2/s3/springboot/AWS2S3ComponentConfiguration.java
+++ 
b/components-starter/camel-aws2-s3-starter/src/main/java/org/apache/camel/component/aws2/s3/springboot/AWS2S3ComponentConfiguration.java
@@ -226,8 +226,11 @@ public class AWS2S3ComponentConfiguration
      */
     private Boolean lazyStartProducer = false;
     /**
-     * If it is true, camel will upload the file with multi part format, the
-     * part size is decided by the option of partSize
+     * If it is true, camel will upload the file with multi-part format, the
+     * part size is decided by the partSize option. Camel will only do
+     * multi-part uploads for files that are larger than the part-size
+     * thresholds. Files that are smaller will be uploaded in a single
+     * operation.
      */
     private Boolean multiPartUpload = false;
     /**
@@ -239,8 +242,10 @@ public class AWS2S3ComponentConfiguration
      */
     private AWS2S3Operations operation;
     /**
-     * Setup the partSize which is used in multi part upload, the default size
-     * is 25M.
+     * Setup the partSize which is used in multi-part upload, the default size
+     * is 25M. Camel will only do multi-part uploads for files that are larger
+     * than the part-size thresholds. Files that are smaller will be uploaded 
in
+     * a single operation.
      */
     private Long partSize = 26214400L;
     /**

Reply via email to