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 d24de2a4747b59cc03f34cb154e3654f19a7a29b Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Jul 24 12:25:58 2018 +0200 Fixed AWS KMS Javadoc and removed wrong reference to MQ --- components/camel-aws/src/main/docs/aws-kms-component.adoc | 4 ++-- .../main/java/org/apache/camel/component/aws/kms/KMSComponent.java | 4 ++-- .../camel/component/aws/kms/springboot/KMSComponentConfiguration.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/camel-aws/src/main/docs/aws-kms-component.adoc b/components/camel-aws/src/main/docs/aws-kms-component.adoc index 2863bb9..e561f0c 100644 --- a/components/camel-aws/src/main/docs/aws-kms-component.adoc +++ b/components/camel-aws/src/main/docs/aws-kms-component.adoc @@ -33,10 +33,10 @@ The AWS KMS 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 | | KMSConfiguration +| *configuration* (advanced) | The AWS KMS default configuration | | KMSConfiguration | *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 KMS 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/kms/KMSComponent.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/kms/KMSComponent.java index 513374b..7587fca 100644 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kms/KMSComponent.java +++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/kms/KMSComponent.java @@ -76,7 +76,7 @@ public class KMSComponent extends DefaultComponent { } /** - * The AWS MQ default configuration + * The AWS KMS default configuration */ public void setConfiguration(KMSConfiguration configuration) { this.configuration = configuration; @@ -109,7 +109,7 @@ public class KMSComponent extends DefaultComponent { } /** - * The region in which MQ client needs to work + * The region in which KMS 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/kms/springboot/KMSComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kms/springboot/KMSComponentConfiguration.java index f55bb67..0d40cf9 100644 --- a/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kms/springboot/KMSComponentConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kms/springboot/KMSComponentConfiguration.java @@ -39,7 +39,7 @@ public class KMSComponentConfiguration */ private Boolean enabled; /** - * The AWS MQ default configuration + * The AWS KMS default configuration */ private KMSConfigurationNestedConfiguration configuration; /** @@ -51,7 +51,7 @@ public class KMSComponentConfiguration */ private String secretKey; /** - * The region in which MQ client needs to work + * The region in which KMS client needs to work */ private String region; /**
