Hi, Using Topics with durable subscribers.
I am using client acknowledgement for my durable consumer. I acknowledge the message after every nth message. Which takes care of acknowledging all the messages received before that. I am facing an issue where consumer receives some messages (<n) so consumer has not acknowledged it yet. so those are marked as inflight in the broker. Now if consumer goes down, and come up again, consumer does not receives those messages back. In Jconsole I can see that those messages are lost. Ideally If I haven't acknowledged the message, it should stay within the broker and should be received back if consumer is polling again. Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-How-to-retain-inflight-messages-post-consumer-restart-tp4727027.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.