Answer
Do not sleep in the consumer. Republish the message with a delay (delayed delivery, or a chain of retry queues with growing delays) and acknowledge the original. After the last retry, send it to a dead-letter queue.
Queues · Flashcard
Do not sleep in the consumer. Republish the message with a delay (delayed delivery, or a chain of retry queues with growing delays) and acknowledge the original. After the last retry, send it to a dead-letter queue.