This repository was archived by the owner on Jan 19, 2022. It is now read-only.
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
SQS - SimpleMessageListenerContainerFactory with WebIdentityTokenFileCredentialsProvider(sdk2.x)) #586
Open
Description
I am using springcloud messaging for sqs with latest release
'org.springframework.cloud:spring-cloud-aws-messaging:2.2.2.RELEASE'
Sample code snippet:
//auto wired
AmazonSQSAsync amazonSqs
SimpleMessageListenerContainerFactory factory = new SimpleMessageListenerContainerFactory();
factory.setAmazonSqs(amazonSqs);
currently using the credentials in the following way
AWSCredentialsProvider credentialsProvider() {
return InstanceProfileCredentialsProvider.getInstance();
}
I would like to use the WebIdentityTokenFileCredentialsProvider for credential provider. which is part of SDK2.x
Does Springcloud support SqsAsyncClientBuilder(sdk2.x)
is it possible to achieve this with the currently available spring cloud releases?