softwaremill / elasticmq

In-memory message queue with an Amazon SQS-compatible interface. Runs stand-alone or embedded.
https://softwaremill.com/open-source/
Apache License 2.0
2.46k stars 193 forks source link

fix: The JSON protocol does not handle empty lists, so use the Option #953

Closed jkugiya closed 5 months ago

jkugiya commented 5 months ago

https://github.com/localstack/localstack/pull/9710/files#diff-afa491974d1d7cb931555d6bfd9bfbf8e4f977f1528242ba8732413a848c15b7R251-R252

Similar fix to a recent fix in Localstack: In JSON Protocol, BatchResponse does not seem to return "failed" as a field on successful request. If it did, SendMessageBatchResponse#hasFailed would not work correctly. (https://github.com/aws/aws-sdk-java-v2/issues/4759)

micossow commented 5 months ago

Thanks for contribution!