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 2020/07/20 06:20:38 UTC

[camel] 02/04: Camel-AWS2-IAM: Set defaultValue for 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 05d05de6aa31e995441b3e39c13a184dd550927d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jul 20 08:18:40 2020 +0200

    Camel-AWS2-IAM: Set defaultValue for region
---
 .../java/org/apache/camel/component/aws2/iam/IAM2Configuration.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws2-iam/src/main/java/org/apache/camel/component/aws2/iam/IAM2Configuration.java b/components/camel-aws2-iam/src/main/java/org/apache/camel/component/aws2/iam/IAM2Configuration.java
index 798a866..da9e091 100644
--- a/components/camel-aws2-iam/src/main/java/org/apache/camel/component/aws2/iam/IAM2Configuration.java
+++ b/components/camel-aws2-iam/src/main/java/org/apache/camel/component/aws2/iam/IAM2Configuration.java
@@ -46,7 +46,7 @@ public class IAM2Configuration implements Cloneable {
     private String proxyHost;
     @UriParam
     private Integer proxyPort;
-    @UriParam
+    @UriParam(defaultValue = "aws-global")
     private String region = Region.AWS_GLOBAL.id();
     @UriParam(defaultValue = "false")
     private boolean pojoRequest;