Marco Carletti created CAMEL-19737:
--------------------------------------

             Summary: 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


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