[ 
https://issues.apache.org/jira/browse/CAMEL-19737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753251#comment-17753251
 ] 

Marco Carletti commented on CAMEL-19737:
----------------------------------------

when fixed the test 
[SnsTopicProducerWithSubscriptionTest|https://github.com/apache/camel-spring-boot/blob/main/components-starter/camel-aws2-sns-starter/src/test/java/org/apache/camel/component/aws2/sns/SnsTopicProducerWithSubscriptionTest.java]
 can be enabled

> SNS component subscription to SQS error
> ---------------------------------------
>
>                 Key: CAMEL-19737
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19737
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws2
>    Affects Versions: 4.0-RC2
>            Reporter: Marco Carletti
>            Priority: Major
>
> The parameter 
> [queueUrl|https://camel.apache.org/components/next/aws2-sns-component.html#_endpoint_query_option_queueUrl]
>  says that we need to provide queue URL but it seems that we need to provide 
> ARN endpoint instead.
> example:
> {code:java}
> aws2-sns://xxxxx?subject=subj&autoCreateTopic=true&subscribeSNStoSQS=true&queueUrl=https://sqs.us-east-1.amazonaws.com/xxxxxx/xxxxxx{code}
> when the subscription to SQS queue will be created, an error is thrown
> {code:java}
> Invalid parameter: SQS endpoint ARN (Service: Sns, Status Code: 400, Request 
> ID: xxxx){code}
> providing the same SQS URL in *ARN* format, the subscription will be created 
> as expected



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to