Closed
Description
When the QueueConsumer
receives a self::REJECT
and calls $consumer->reject($message, false);
on the SqsConsumer
the message is deleted. This doesn't allow for the SQS Queue to force it's Dead Letter Maximum Receives, as the message is deleted.
Shouldn't there be a way to reject a message but leave it in SQS so the next iteration of QueueConsumer->consume()
will pull the same message and it's received count will rise and eventually hit the Maximum Receives?
Or am I doing something wrong?