Is it possible to setup two annotated SQSListeners one for a regular SQS (AmazonSQSBufferedAsyncClient) & one for a FIFO (AmazonSQSAsync)? #321
Unanswered
kevinmcp123
asked this question in
Q&A
Replies: 1 comment
-
At this stage it is not possible. In 3.0 messaging will be much more flexible, but there won't be a buffered client since it has not been migrated to AWS SDK v2. If you would like to contribute to 2.4 a change enabling having two clients that would work, that would be a non breaking change, we can consider it. |
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
-
Hello,
I have a use case whereby I wish to setup two annotated SQSListeners one for a regular SQS (using AmazonSQSBufferedAsyncClient) & one for a FIFO (using AmazonSQSAsync), is this possible?
Reading the documentation it only offers advice to replace the buffered client...
"To use FIFO queues with Spring Cloud SQS it is recommended to overwrite default SQS client bean with a custom one that is not based on AmazonSQSBufferedAsyncClient" - https://docs.awspring.io/spring-cloud-aws/docs/2.4.0/reference/html/index.html#fifo-queue-support
... but I may wish to configure some buffered properties for the SQS Buffered client?
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions