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

Mark Ford commented on CAMEL-3476:
----------------------------------

I don't think you need two sets of credentials. Assume that User-1 creates the 
topic. If User-2 wishes to subscribe to the topic, then they need to create the 
route with the appropriate URI that includes the ARN of the topic. The newly 
created SQS queue will be owned by User-2 and not require the credentials for 
User-1. The permissions on the newly created queue are configured to allow the 
messages from the topic ARN to arrive.

*Note: I have not tested with multiple AWS accounts.*

One assumption is that the topic setup by User-1 is configured to allow User-2 
to subscribe. This may be done a number of ways through the admin console. I 
could see where it would be nice for the component to configure the topic 
permissions during the creation of the topic. Perhaps this is something the 
producer could do.

In either case, I don't see needing multiple credentials here.



> Contribute camel-sns component to the new camel-aws component.
> --------------------------------------------------------------
>
>                 Key: CAMEL-3476
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3476
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-aws
>    Affects Versions: 2.6.0
>            Reporter: Mark Ford
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: camel-aws-3476.txt, patchfile.txt, patchfile.txt
>
>
> CAMEL-3468 contributes a new component for interacting with the Amazon SQS 
> service. The camel-sns component allows users to publish/subscribe to topics 
> on Amazon's Simple Notification Service. 
> This code is currently hosted as a google code project here:
> http://code.google.com/p/camel-sns/
> I'll coordinate with Tracy (developer of camel-aws) in the creation of the 
> patch.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to