spring-cloud-aws
spring-cloud-aws copied to clipboard
aws spring cloud 3.x : what the replacement for SimpleMessageListenerContainer for Aws cloud 2.x.x | SqsMessageListenerContainer
Looks like in aws spring cloud 3.x SqsMessageListenerContainer is the replacement for SimpleMessageListenerContainer and similarly the factory.
I am having problems setting a setDestinationResolver. @maciejwalkowiak any clues?
Everything found except where to set destination resolver.
@VaibhavTheVicar destination resolver has not been ported to 3.x
For anyone looking for a solution, override the SqsListenerContainerFactory the create container method, and transform the logicalEndpoints
How do you set the following things in the SqsMessageListenerContainer setAmazonSqs(amazonSqs); factory.setAutoStartup(true); factory.setMaxNumberOfMessages(10); factory.setTaskExecutor(createDefaultTaskExecutor());