Replies: 2 comments
-
How are you reconnecting? Can you share your code? When a connection is lost RabbitMQ will re-queue the message and put it back into the Ready state. My guess is there is a bug in your application. What versions are you using of...
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm testing some features in my software and I'm using the consumer (EventingBasicConsumer) events to get new messages from a queue, but if my consumer lost connection and after a while reconnect, it don't get the pending message on the queue (with it have one), the payloads stays as unacked and I can't do nothing with it. There's any suggestions on how to handle that situation?
I used the BasicRecover method from IModel class and it works, but the comments of the method itself say not to use it, so it is not a valid solution. "Indicates that a consumer has recovered. Deprecated. Should not be used."
Beta Was this translation helpful? Give feedback.
All reactions