Closed
Description
Symfony version(s) affected: 5.2
Description
If the processing of a message fails but is retried, the message is rejected. However, it should have to be acknowleged. This behavior leads to problems, especially with AMQP. Consider a queue with a dead letter exchange. If one message handling failed, the message is "requeued" in a delay queue but after rejecting it will go into the dead letter exchange. For each retry, the message will be "copied" into the dead letter exchange.
Possible Solution
On retry messages should be acknowledged.