SQSAsyncClient TaskExecutor Config #773
-
I am in the middle of migrating my queue-listener apps to 3.0.0+ and I was wondering if someone knew how to define a taskExecutor/threadpool for the Pre 3.0.0 I could wire up a taskExecutor and inject it into the Pre 3.0.0 SQS Config:
Current 3.0.0 config:
any ideas how we can finely tune our |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @jonhines The docs suggest this is supported. See the latest (3.0 RC2) reference guide section https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-RC2/reference/html/index.html#providing-a-taskexecutor. The SqsContainerOptions property you need to set is described in section https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-RC2/reference/html/index.html#sqscontaineroptions-descriptions. Neil. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the super prompt and accurate answer, Neil! Much appreciated! |
Beta Was this translation helpful? Give feedback.
Hi @jonhines
The docs suggest this is supported. See the latest (3.0 RC2) reference guide section https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-RC2/reference/html/index.html#providing-a-taskexecutor.
The SqsContainerOptions property you need to set is described in section https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-RC2/reference/html/index.html#sqscontaineroptions-descriptions.
Neil.