Skip to content

Commit c6f552b

Browse files
Upgrade AWS SDK to 2.20.49 (#771)
1 parent 08a36b0 commit c6f552b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

spring-cloud-aws-dependencies/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
<properties>
2626
<javaparser.version>3.24.10</javaparser.version>
2727
<spotless.version>2.31.0</spotless.version>
28-
<awssdk-v2.version>2.20.39</awssdk-v2.version>
28+
<awssdk-v2.version>2.20.49</awssdk-v2.version>
2929
<amazon.dax.version>2.0.3</amazon.dax.version>
3030
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
3131
<spring-cloud-commons.version>4.0.1</spring-cloud-commons.version>
3232
<jakarta.mail.version>2.1.0</jakarta.mail.version>
3333
<eclipse.jakarta.mail.version>1.0.0</eclipse.jakarta.mail.version>
34-
<aws-crt.version>0.21.9</aws-crt.version>
34+
<aws-crt.version>0.21.12</aws-crt.version>
3535
</properties>
3636

3737
<dependencyManagement>

spring-cloud-aws-samples/spring-cloud-aws-sqs-sample/src/main/java/io/awspring/cloud/sqs/sample/SpringSqsListenMultipleQueues.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@
1717

1818
import io.awspring.cloud.sqs.annotation.SqsListener;
1919
import io.awspring.cloud.sqs.operations.SqsTemplate;
20+
import java.util.UUID;
2021
import org.slf4j.Logger;
2122
import org.slf4j.LoggerFactory;
2223
import org.springframework.boot.ApplicationRunner;
2324
import org.springframework.context.annotation.Bean;
2425
import org.springframework.context.annotation.Configuration;
2526
import software.amazon.awssdk.services.sqs.model.Message;
2627

27-
import java.util.UUID;
28-
2928
@Configuration
3029
public class SpringSqsListenMultipleQueues {
3130

@@ -45,7 +44,7 @@ public ApplicationRunner sendMessageToQueues(SqsTemplate sqsTemplate) {
4544
sqsTemplate.sendAsync(ORDER_QUEUE, new OrderMessage(UUID.randomUUID(), "[email protected]"));
4645

4746
sqsTemplate.sendAsync(WITHDRAWAL_QUEUE,
48-
new WithdrawalMessage(UUID.randomUUID(), "Mary", "[email protected]"));
47+
new WithdrawalMessage(UUID.randomUUID(), "Mary", "[email protected]"));
4948
};
5049
}
5150

0 commit comments

Comments
 (0)