Hello,
We implement a delayed retry system based on rabbitmq
We have a pending queue (named PENDING) that contain messages that have to be delivered .
On the other side we have an other queue we use as a dead letter queue named PENDING_DLQ. This queue is bound with a dlx header exchange.
PENDING_DLQ has a TTL to 2 min (x-message-ttl: 120000). PENDING queue is declared as dlq for PENDING_DLQ
The consumer consume messages from PENDING and ack them. If anything goes wrong, we put the messages in PENDING_DLQ.
Normally, after TTL expires messages from PENDING_DLQ are sent back to PENDING.
This process works like a charm for 3 weeks.
Now, we see stuck messages in PENDING_DLQ. They never leave the PENDING_DLQ queue. everything is blocked.
Though the UI, if we consume and requeue 100 messages from the head of the queue (PENDING_DLQ) it frees the next ones.
Any idea to solve this ?
thx
Regards