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/07/24 10:34:22 UTC

[camel] 02/02: Fixed AWS IAM Javadoc and removed wrong reference to MQ

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 44c11cf977796b48e645f998b9df09dc7da9496b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jul 24 12:34:01 2018 +0200

    Fixed AWS IAM Javadoc and removed wrong reference to MQ
---
 components/camel-aws/src/main/docs/aws-iam-component.adoc             | 4 ++--
 .../main/java/org/apache/camel/component/aws/iam/IAMComponent.java    | 4 ++--
 .../camel/component/aws/iam/springboot/IAMComponentConfiguration.java | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/camel-aws/src/main/docs/aws-iam-component.adoc b/components/camel-aws/src/main/docs/aws-iam-component.adoc
index f41ba27..6eeec6c 100644
--- a/components/camel-aws/src/main/docs/aws-iam-component.adoc
+++ b/components/camel-aws/src/main/docs/aws-iam-component.adoc
@@ -33,10 +33,10 @@ The AWS IAM component supports 5 options, which are listed below.
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *configuration* (advanced) | The AWS MQ default configuration |  | IAMConfiguration
+| *configuration* (advanced) | The AWS IAM default configuration |  | IAMConfiguration
 | *accessKey* (producer) | Amazon AWS Access Key |  | String
 | *secretKey* (producer) | Amazon AWS Secret Key |  | String
-| *region* (producer) | The region in which MQ client needs to work |  | String
+| *region* (producer) | The region in which IAM client needs to work |  | String
 | *resolveProperty Placeholders* (advanced) | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | boolean
 |===
 // component options: END
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/iam/IAMComponent.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/iam/IAMComponent.java
index 85cb8f9..25b25c8 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/iam/IAMComponent.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/iam/IAMComponent.java
@@ -76,7 +76,7 @@ public class IAMComponent extends DefaultComponent {
     }
 
     /**
-     * The AWS MQ default configuration
+     * The AWS IAM default configuration
      */
     public void setConfiguration(IAMConfiguration configuration) {
         this.configuration = configuration;
@@ -109,7 +109,7 @@ public class IAMComponent extends DefaultComponent {
     }
 
     /**
-     * The region in which MQ client needs to work
+     * The region in which IAM client needs to work
      */
     public void setRegion(String region) {
         configuration.setRegion(region);
diff --git a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/iam/springboot/IAMComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/iam/springboot/IAMComponentConfiguration.java
index 6e2eea6..b4aa40f 100644
--- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/iam/springboot/IAMComponentConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/iam/springboot/IAMComponentConfiguration.java
@@ -39,7 +39,7 @@ public class IAMComponentConfiguration
      */
     private Boolean enabled;
     /**
-     * The AWS MQ default configuration
+     * The AWS IAM default configuration
      */
     private IAMConfigurationNestedConfiguration configuration;
     /**
@@ -51,7 +51,7 @@ public class IAMComponentConfiguration
      */
     private String secretKey;
     /**
-     * The region in which MQ client needs to work
+     * The region in which IAM client needs to work
      */
     private String region;
     /**