Questions related to integrating with the Spring Cloud AWS libraries
Questions tagged [spring-cloud-aws]
176 questions
4
votes
1 answer
How to process more than 10 concurrent messages from an AWS SQS FiFo queue using Spring Integration
I want to be able to process more than 10 SQS messages at a time using a Spring Integration Workflow.
From this question, the recommendation was to use an ExecutorChannel. I updated my code but still have the same symptoms.
How execute Spring…

Steve
- 154
- 1
- 11
4
votes
1 answer
How to delete file from S3 using Spring cloud AWS?
I could not find any API or documentation in Spring AWS Cloud to delete an object from S3 bucket. Can someone please let me know how to do it?
The documentation just talks about reading the content using ResourceLoader.
Only option right now I see…

sidgate
- 14,650
- 11
- 68
- 119
4
votes
0 answers
How can I validate the messages sent by AWS SNS usign Spring Cloud SNS
We are trying to receive notifications from AWS SNS service and we decided to use Spring Cloud SNS library to handle the request from AWS SNS. Here is a sample of Spring Cloud SNS library.
Everything works fine, but we don't know how or where to…

Rogelio Blanco
- 1,462
- 4
- 19
- 29
3
votes
0 answers
"ResourceLoaderBeanPostProcessor" in spring-cloud-aws-context 2.2.6.RELEASE? upgrade from version 1.2.1.RELEASE
I was using the ResourceLoaderBeanPostProcessor.java class from the spring-cloud-aws-context:1.2.1.RELEASE in my @Configuration class in my Spring Boot/Batch project (spring-boot-starter version 2.4.X):
@Bean
public static…

ennth
- 1,698
- 5
- 31
- 63
3
votes
0 answers
How to configure Spring Cloud logging?
I have a Spring Boot application with Spring Cloud components, namely org.springframework.cloud:spring-cloud-starter-aws-parameter-store-config.
The component produces logs at WARN level when the application starts which I want to suppress.
Setting…

fyrkov
- 2,245
- 16
- 41
3
votes
1 answer
Error encountered after upgrading to Spring Cloud Hoxton.SR7 from Hoxton.SR4
Using Spring Cloud Hoxton.SR4 and Spring Boot 2.2.9.RELEASE libraries, my Spring Boot microservice starts up correctly and runs just fine when running against localstack in my local environment, but when I upgrade to Hoxton.SR7, I get the stack…

Keith Bennett
- 733
- 11
- 25
3
votes
1 answer
Unable to find a region via the region provider chain with spring-cloud-starter-aws-secrets-manager-config
I am seeing the following exception with spring-cloud-starter-aws-secrets-manager-config
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'awsSecretsManagerPropertySourceLocator' defined in…

user3600073
- 1,773
- 3
- 18
- 21
3
votes
2 answers
How to exclude classes with @Configuration in @SpringBootApplication testing
I am using a dependent module called spring-cloud-aws. It has a @Configuration class as org.springframework.cloud.aws.messaging.config.annotation.SqsConfiguration
In my SpringBoot JUnit test case the SqsConfiguration class is getting detected and…

user91604
- 83
- 1
- 6
3
votes
1 answer
Are there no active owners for the spring cloud aws project anymore?
I see no activity within the last couple of months in the project spring-cloud-aws. No issues get answered, no PRs get reviewed or merged. This is a problem for my team, because we're trying to use this module, as we're heavily relying on spring…

tamasperlaki
- 31
- 3
3
votes
1 answer
Configure message group ID for FIFO using @SqsListener annotation
I am using @SqsListener provided by Spring cloud API in order to consume messages from FIFO queue. I want to consume the messages based on the particular Message Group ID. Not sure on where to configure this setting.
I tried to read AWS spring cloud…

gomzee
- 103
- 1
- 9
3
votes
1 answer
Spring Integration + SQS - retry on exception doesn't work
I'm working on integrating Spring Integration with AWS SQS queue.
I have an issue when my method annotated with @ServiceActivator throws an exception. It seems that in such cases the message is removed from the queue anyway. I've configured…

Sebastian Dusza
- 2,470
- 2
- 30
- 54
3
votes
1 answer
org.springframework.core.task.TaskRejectedException while listening for SQS queue?
I create a basic workflow of consuming messages from SQS with @SqsListener. It works fine but I constantly get tons of similar messages:
org.springframework.core.task.TaskRejectedException: Executor
…

Dmytro Chasovskyi
- 3,209
- 4
- 40
- 82
3
votes
0 answers
How to connect Spring App to AWS SNS using IAM Roles?
I have a spring boot app and I want to connect it to my AWS SNS using spring-cloud-starter-aws-messaging. I've seen tutorials on how to do it using AWS SECRET ACCCESS KEY but I want to use IAM Roles instead. Do you know any example or tutorial on…

Clyde Barrow
- 1,924
- 8
- 30
- 60
3
votes
1 answer
How to get javax.validation payload validation for spring-cloud-aws in QueueMessageHandler working?
I'm writing some message consumer for an AWS SQS and want to validate the received message by using the javax.validation.constraints annotations.
Unfortunately I had to find out, that the used PayloadArgumentResolver of the…

Matthias
- 31
- 4
3
votes
0 answers
Deleting file using spring cloud aws
I am exploring spring cloud aws for s3 operations instead of using amazonS3Client. I found documents for uploading and downloading files from s3 using resource loader. But I couldn't find any document related to moving or deleting the files from s3.…

ANKIT
- 126
- 2
- 11