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/02/14 14:41:17 UTC

[camel] 11/11: CAMEL-14552 - Create an AWS-SNS component based on SDK v2, Regen

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 4b2580ecf9d34bf8c69ddc1ba12c9ae9dbfb2edd
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 14 15:08:53 2020 +0100

    CAMEL-14552 - Create an AWS-SNS component based on SDK v2, Regen
---
 docs/components/modules/ROOT/pages/aws2-sns-component.adoc | 9 +++++++--
 docs/components/modules/ROOT/pages/index.adoc              | 2 +-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/docs/components/modules/ROOT/pages/aws2-sns-component.adoc b/docs/components/modules/ROOT/pages/aws2-sns-component.adoc
index 6e7c08d..e00f1bb 100644
--- a/docs/components/modules/ROOT/pages/aws2-sns-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws2-sns-component.adoc
@@ -22,6 +22,11 @@ You must have a valid Amazon Web Services developer account, and be
 signed up to use Amazon SNS. More information is available at
 https://aws.amazon.com/sns[Amazon SNS].
 
+[NOTE]
+====
+The AWS2 SNS component is not supported in OSGI
+====
+
 == URI Format
 
 [source,java]
@@ -93,7 +98,7 @@ with the following path and query parameters:
 | *proxyPort* (producer) | To define a proxy port when instantiating the SNS client |  | Integer
 | *proxyProtocol* (producer) | To define a proxy protocol when instantiating the SNS client. The value can be one of: HTTP, HTTPS | HTTPS | Protocol
 | *queueUrl* (producer) | The queueUrl to subscribe to |  | String
-| *region* (producer) | The region in which SNS client needs to work. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name() |  | String
+| *region* (producer) | The region in which SNS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() |  | String
 | *serverSideEncryptionEnabled* (producer) | Define if Server Side Encryption is enabled or not on the topic | false | boolean
 | *subject* (producer) | The subject which is used if the message header 'CamelAwsSnsSubject' is not present. |  | String
 | *subscribeSNStoSQS* (producer) | Define if the subscription between SNS Topic and SQS must be done or not | false | boolean
@@ -198,4 +203,4 @@ Maven users will need to add the following dependency to their pom.xml.
 where `$\{camel-version\}` must be replaced by the actual version of Camel.
 
 
-include::camel-spring-boot::page$aws-sns-starter.adoc[]
\ No newline at end of file
+include::camel-spring-boot::page$aws2-sns-starter.adoc[]
diff --git a/docs/components/modules/ROOT/pages/index.adoc b/docs/components/modules/ROOT/pages/index.adoc
index a2c6fe3..aec4dd5 100644
--- a/docs/components/modules/ROOT/pages/index.adoc
+++ b/docs/components/modules/ROOT/pages/index.adoc
@@ -68,7 +68,7 @@ Number of Components: 327 in 261 JAR artifacts (1 deprecated)
 
 | xref:aws2-ses-component.adoc[AWS 2 Simple Email Service] (camel-aws2-ses) | 3.1 | The aws2-ses component is used for sending emails with Amazon's SES service.
 
-| xref:aws2-sns-component.adoc[AWS 2 Simple Notification System] (camel-aws2-sns) | 3.1 | The aws-sns component is used for sending messages to an Amazon Simple Notification Topic.
+| xref:aws2-sns-component.adoc[AWS 2 Simple Notification System] (camel-aws2-sns) | 3.1 | The aws2-sns component is used for sending messages to an Amazon Simple Notification Topic.
 
 | xref:aws2-translate-component.adoc[AWS 2 Translate] (camel-aws2-translate) | 3.1 | The aws2-translate component is used for managing Amazon Translate