Closed soeren-glimm-insurfox closed 12 months ago
Hi @soeren-glimm-insurfox,
The SQS service model changed to JSON protocol in version 1.12.585. Localstack needed to accommodate this change on their side so you'll need to upgrade to their latest version, here's a link to their feature - https://github.com/localstack/localstack/issues/8267#issuecomment-1806421471
To avoid this error, you need to use the latest Localstack version localstack/localstack:latest
OR pin the Java SDK version to <= 1.12.583.
I can't say in detail how the SQS protocol change impacts amazon-sqs-java-messaging-lib
and Spring JmsListener
, those libraries are not maintained by us, you'll need to reach out to the respective maintainers.
Thanks
Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
During startup, I get an AmazonSQSException. When reverting to 583, the application starts successfully
Expected Behavior
No exception occurs
Current Behavior
Reproduction Steps
EventListener.java:
AWSConfig.java:
Main.java:
build.gradle:
Possible Solution
No response
Additional Information/Context
I'm using localstack 1.4 to test locally.
AWS Java SDK version used
1.12.584
JDK version used
java 17.0.4 2022-07-19 LTS Java(TM) SE Runtime Environment (build 17.0.4+11-LTS-179) Java HotSpot(TM) 64-Bit Server VM (build 17.0.4+11-LTS-179, mixed mode, sharing)
Operating System and version
MacOS 13.5