Files
floci/src/main/java
Niels Kootstra 9b3943691a fix(sqs): move a message to the dead-letter queue only once (#7321)
A receive that found a message over its maxReceiveCount left it in the
source queue and removed it in a separate step after the claim. A second
receive in between selected the same message again, so both copied it
into the dead-letter queue.

The claim now takes dead-letter candidates out of the source queue in
the same critical section that selects them. A redrive policy whose
target does not resolve to an SQS queue no longer selects candidates.
2026-11-02 10:02:37 -04:00
..