You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2023/10/10 06:41:39 UTC

[camel] branch main updated: aws2-sns: Replace queueUrl with queueArn in component documentation

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 75082a70459 aws2-sns: Replace queueUrl with queueArn in component documentation
75082a70459 is described below

commit 75082a70459f0b143dbc61650229945d44c40f50
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Oct 10 07:31:47 2023 +0100

    aws2-sns: Replace queueUrl with queueArn in component documentation
---
 .../camel-aws2-sns/src/main/docs/aws2-sns-component.adoc          | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/components/camel-aws/camel-aws2-sns/src/main/docs/aws2-sns-component.adoc b/components/camel-aws/camel-aws2-sns/src/main/docs/aws2-sns-component.adoc
index c78ae6e9703..17ab0a628ce 100644
--- a/components/camel-aws/camel-aws2-sns/src/main/docs/aws2-sns-component.adoc
+++ b/components/camel-aws/camel-aws2-sns/src/main/docs/aws2-sns-component.adoc
@@ -71,8 +71,8 @@ The order of evaluation for Default Credentials Provider is the following:
  - Web Identity Token from AWS STS.
  - The shared credentials and config files.
  - Amazon ECS container credentials - loaded from the Amazon ECS if the environment variable AWS_CONTAINER_CREDENTIALS_RELATIVE_URI is set.
- - Amazon EC2 Instance profile credentials. 
- 
+ - Amazon EC2 Instance profile credentials.
+
 You have also the possibility of using Profile Credentials Provider, by specifying the useProfileCredentialsProvider option to true and profileCredentialsName to the profile name.
 
 Only one of static, default and profile credentials could be used at the same time.
@@ -104,11 +104,11 @@ You can create a subscription of an SQS Queue to an SNS Topic in this way:
 [source,java]
 -------------------------------------------------
 from("direct:start")
-.to("aws2-sns://test-camel-sns1?amazonSNSClient=#amazonSNSClient&subscribeSNStoSQS=true&queueUrl=https://sqs.eu-central-1.amazonaws.com/780410022472/test-camel");
+.to("aws2-sns://test-camel-sns1?amazonSNSClient=#amazonSNSClient&subscribeSNStoSQS=true&queueArn=arn:aws:sqs:eu-central-1:123456789012:test_camel");
 -------------------------------------------------
 
 The `#amazonSNSClient` refers to a `SnsClient` in the Registry.
-By specifying `subscribeSNStoSQS` to true and a `queueUrl` of an existing SQS Queue,
+By specifying `subscribeSNStoSQS` to true and a `queueArn` of an existing SQS Queue,
 you'll be able to subscribe your SQS Queue to your SNS Topic.
 
 At this point you can consume messages coming from SNS Topic through your SQS Queue