I can't really drop the messages, I still want to process them. In this scenario it would be necessary to wait days or even more before processing them.
So far, both suggestions involve the use of a second queue (either by moving everything to the second queue, or dead lettering to it). But I don't understand what the second queue does differently from the first queue that helps fixing the issue. I still need to scan the second queue and wait before processing, possibly hitting the same requeue/redelivery loop.
The only difference I see in the first proposed solution is that, by using a second queue, the message is "enriched" with the retry count, so I think this could mean that the messages is acked and re-inserted every time with an increased retry count.
Or am I missing a different method of scanning the second queue that will avoid the loop?
To my understanding, basically acking the message and re-queueing it in the same queue seems the only workaround.
The docs seem to suggest another solution with the phrase "schedule requeueing after a delay" but I'm still confused at what that means or how it helps.
Thanks all,
Simone