M
M
Michael2016-09-10 20:44:16
RabbitMQ
Michael, 2016-09-10 20:44:16

RabbitMQ "unprocessed" messages?

If the rabbit misses a message that _can't_ be processed by the customers (with no_ack=False confirmation), then it will be returned to the server and resent to the customers, being at the head of the queue for an infinitely long time, creating a parasitic load.
How to make that after several attempts the message would go to another queue or an rpc / request would be executed after which the message could be deleted?
TTL is not very suitable, because the queue may be different, and the processing of messages by the customer may take arbitrary time.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-09-10
@yarkin

Have a look at Dead Letter Exchanges , should solve your problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question