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


The following commit(s) were added to refs/heads/master by this push:
     new 51daa2c  Missing one rename of 'useIAMCredentials' as 
'useDefaultCredentialsProvider' with the rename in 3.7
51daa2c is described below

commit 51daa2c7946e8ea6e9595c5ad33150b1d643f942
Author: Anthony Defraine <r...@kinae.eu>
AuthorDate: Sun Mar 14 00:29:27 2021 +0100

    Missing one rename of 'useIAMCredentials' as 
'useDefaultCredentialsProvider' with the rename in 3.7
---
 .../main/java/org/apache/camel/component/aws2/s3/AWS2S3Component.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Component.java
 
b/components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Component.java
index a72792b..71e6fd1 100644
--- 
a/components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Component.java
+++ 
b/components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Component.java
@@ -61,7 +61,7 @@ public class AWS2S3Component extends DefaultComponent {
         if (!configuration.isUseDefaultCredentialsProvider() && 
configuration.getAmazonS3Client() == null
                 && (configuration.getAccessKey() == null || 
configuration.getSecretKey() == null)) {
             throw new IllegalArgumentException(
-                    "useIAMCredentials is set to false, AmazonS3Client or 
accessKey and secretKey must be specified");
+                    "useDefaultCredentialsProvider is set to false, 
AmazonS3Client or accessKey and secretKey must be specified");
         }
 
         return endpoint;

Reply via email to