Questions related to integrating with the Spring Cloud AWS libraries
Questions tagged [spring-cloud-aws]
176 questions
2
votes
0 answers
aws sns to sqs, message not getting converted
I am trying to configure an SNS producer with SQS consumer, built with a Spring boot app. I have tried leveraging Spring cloud and just using JMS API, with both ways I cant seem to get my consumer to convert the message for me to read. With Spring…

helpme7766
- 249
- 5
- 13
2
votes
1 answer
How to configure Spring Cloud AWS messaging with annotations?
How would I configure Spring Cloud AWS XML config with annotations?
I am especially interested in changing default taskExecutor.

luboskrnac
- 23,973
- 10
- 81
- 92
2
votes
0 answers
Spring Cloud AWS SQS SendTo annotation with property placeholder
This issue suggests that the @SendTo annotation supports property placeholders, but I can't get it to work. Here's some simplified code snippets of what I'm trying to do (easier than trying to explain with words). I'm on spring-cloud-aws version…

orange
- 261
- 3
- 10
2
votes
3 answers
Spring boot failing to start with Spring Cloud AWS Core dependency
I am writing a spring boot app that accesses stuff from an s3 bucket, but I get a NoClassDefFoundError when I use the starter spring-cloud-starter-aws dependency from the spring initializer.
Am I missing some other dependency here?
Below are my…

Wizard
- 1,154
- 2
- 14
- 41
2
votes
0 answers
Different SimpleMessageListenerContainer implementations in same spring cloud aws example
I Have two SQS queue listeners in my spring cloud aws application. How can i use different credentials to different queue listeners. i.e., i want to use the one credential configuration to queue1 and want to use the another credentials for queue2 in…

Ram
- 101
- 7
2
votes
3 answers
Spring cloud AWS - send message to fifo queue
I'm using spring-cloud-aws to send a message to SQS FIFO queue.
It's failing with
The request must contain the parameter MessageGroupId
There doesn't seem to be anywhere on the QueueMessagingTemplate in spring-cloud-aws-messaging that allows me to…

Rich Croft
- 21
- 1
- 2
2
votes
3 answers
Unable to disable ContextCredentialsAutoConfiguration in Spring boot application
I am working on a Spring Batch application that should use aws cloud only for specific profiles. Currently I have a profile that uses aws and another that shouldn't as it runs the application locally with a local database, local files, etc. …

vanvasquez
- 939
- 1
- 10
- 18
2
votes
0 answers
Not able to connect localstack with spring clound
I have setup locastack in my local pc. I am able to create, send and receive in the queue using command line.
How am trying to connect SpringBoot application with the localstcak queue.
I am not finding any tutorial which will guide me how we can…

Suman-PHP4U
- 1,185
- 11
- 13
2
votes
3 answers
Java type for AWS SNS message from SQS
I have a AWS SQS queue subscribed to a SNS topic. Message I receive from SQS queue looks like this:
Message body: {
"Type" : "Notification",
"MessageId" : "6ffbe51a-5c00-51f8-a67e-b468ad721131",
"TopicArn" :…

Michal Foksa
- 11,225
- 9
- 50
- 68
2
votes
0 answers
Spring cloud AWS SQS Listener constant sending request
I have Implement annotation-driven-queue-listener using spring cloud AWS API.

jenitshah
- 131
- 2
- 10
2
votes
1 answer
spring-integration-aws SqsMessageDrivenChannelAdapter control bus
I have the following bean:
@Bean
public MessageProducer sqsMessageAdapter() {
SqsMessageDrivenChannelAdapter adapter = new SqsMessageDrivenChannelAdapter(this.amazonSqs, awsConfiguration.myQueue.get());
adapter.setAutoStartup(true);
…

pfitzsimons
- 35
- 4
2
votes
2 answers
AmazonEc2InstanceDataPropertySource.getProperty() is extremely slow when run outside of Amazon
I am writing a spring boot app which uses Spring Cloud AWS. I noticed a huge slowdown in the loading of the Spring application context as soon as I started including Spring Cloud AWS beans. Previously the context would start in a few seconds however…

Edd Grant
- 774
- 2
- 10
- 22
1
vote
1 answer
StsWebIdentityTokenFileCredentialsProvider autoconfiguration not working with Spring Cloud AWS 3.0.1 and SCS Binder for Kinesis 4.0.0
After reading the documentation, I feel like all I needed to do was add the software.amazon.awssdk:sts dependency and Spring would autoconfigure the StsWebIdentityTokenFileCredentialsProvider, but I always get the following error when writing a…

Keith Bennett
- 733
- 11
- 25
1
vote
2 answers
Spring boot 3 + Spring cloud migration for S3 auto configure
For spring boot 2.7.9
org.springframework.boot
spring-boot-starter-parent
2.7.9
These spring cloud…

Dickens A S
- 3,824
- 2
- 22
- 45
1
vote
1 answer
Where does Spring Cloud AWS 2.x auto-configure the AmazonS3 bean?
I'm currently running into the well-known startup failure where Spring Cloud AWS is attempting to create an AmazonS3 bean but doesn't have a region defined. In a particular profile, I do not want Spring Cloud AWS to activate anything at all. I have…

chrylis -cautiouslyoptimistic-
- 75,269
- 21
- 115
- 152