M
M
MaxLich2018-10-16 20:58:55
Java
MaxLich, 2018-10-16 20:58:55

What are the reasons why messages in RabbitMQ can go unacked?

Hello. I work from Java with Rabbit using Spring RabbitTemplate. And I can’t figure out exactly when messages can hang in the queue and stay in the unacked state.
I used to think that this could happen due to an unexpected uncaught exception, but according to the application logs, I see that there are no exceptions, and the messages freeze.
Maybe there are other reasons for hanging messages?
PS And if possible, then confirm your words with links to official documentation

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2018-10-16
@inoise

If the consumer did not answer ack then it is unacked. This signal must be sent. There are several types out there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question