You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/02/07 09:45:07 UTC

[camel] 10/10: Camel-AWS S3 - Changed javadoc related to region

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 5d7288cfe45acba896f3eac25210f255683d3643
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 7 10:43:39 2018 +0100

    Camel-AWS S3 - Changed javadoc related to region
---
 components/camel-aws/src/main/docs/aws-s3-component.adoc               | 2 +-
 .../main/java/org/apache/camel/component/aws/s3/S3Configuration.java   | 3 +--
 .../camel/component/aws/s3/springboot/S3ComponentConfiguration.java    | 3 +--
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/components/camel-aws/src/main/docs/aws-s3-component.adoc b/components/camel-aws/src/main/docs/aws-s3-component.adoc
index 2d80eec..f512559 100644
--- a/components/camel-aws/src/main/docs/aws-s3-component.adoc
+++ b/components/camel-aws/src/main/docs/aws-s3-component.adoc
@@ -88,7 +88,7 @@ with the following path and query parameters:
 | *policy* (common) | The policy for this queue to set in the com.amazonaws.services.s3.AmazonS3setBucketPolicy() method. |  | String
 | *proxyHost* (common) | To define a proxy host when instantiating the SQS client |  | String
 | *proxyPort* (common) | Specify a proxy port to be used inside the client definition. |  | Integer
-| *region* (common) | The region where the bucket is located. This option is used in the com.amazonaws.services.s3.model.CreateBucketRequest. |  | String
+| *region* (common) | The region in which S3 client needs to work |  | String
 | *encryptionMaterials* (common) | The encryption materials to use in case of Symmetric/Asymmetric client usage |  | EncryptionMaterials
 | *useEncryption* (common) | Define if encryption must be used or not | false | boolean
 | *bridgeErrorHandler* (consumer) | 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 message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions that will be logged at WARN or ERROR level and ignored. | false | boolean
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/S3Configuration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/S3Configuration.java
index ad13880..a3a08ac 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/S3Configuration.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/S3Configuration.java
@@ -184,8 +184,7 @@ public class S3Configuration implements Cloneable {
     }
 
     /**
-     * The region where the bucket is located. This option is used in the
-     * `com.amazonaws.services.s3.model.CreateBucketRequest`.
+     * The region in which S3 client needs to work
      */
     public void setRegion(String region) {
         this.region = region;
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java
index d33167f..8b97bdf 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java
@@ -143,8 +143,7 @@ public class S3ComponentConfiguration
          */
         private String fileName;
         /**
-         * The region where the bucket is located. This option is used in the
-         * `com.amazonaws.services.s3.model.CreateBucketRequest`.
+         * The region in which S3 client needs to work
          */
         private String region;
         /**

-- 
To stop receiving notification emails like this one, please contact
acosentino@apache.org.