That sounds like the remaining inflight messages are getting acknowledged during the process of shutting down gracefully; even though your consumer never received them. Is that accurate? If so, that still sounds like a bug.
On Jun 6, 2017 3:34 AM, "khandelwalanuj" <anuj.cool.khandel...@gmail.com> wrote: > My bad Tim. > > I was normally shutting down the consumer instead of kill -9 > > It works fine with kill -9 > > Thanks, > Anuj > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/ActiveMQ-How-to-retain-inflight-messages-post-consumer-restart- > tp4727027p4727070.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >