Multi-region cross-account SQS client selection #884
Unanswered
ArranOakes
asked this question in
Q&A
Replies: 1 comment
-
Hi @ArranOakes-ELS. You should be able to use the SqsListenerContainerFactory to set different Would this work for you? Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, I appreciate some of this would typically be achieved using IAM and Assumed Roles, but I have a use-case where I am using multiple AWS services (SQS, SNS and S3) across multiple accounts and across multiple regions. The permutations can get a little crazy.
With SQS in particular, I need to produce and consume from different regions cross-account, so I know that by defining my own SQS client bean I can override the autoconfiguration, but is it possible to, via a @Qualifier/Named Bean or similar approach, select which client a specific @SqsListener is using, so that my listeners can connect using different clients with different configurations?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions