activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khandelwalanuj <anuj.cool.khandel...@gmail.com>
Subject Re: ActiveMQ: How to retain inflight messages post consumer restart
Date Wed, 07 Jun 2017 05:00:43 GMT
> 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. 

My durable consumer received them in client ack mode and didn't acknowledge
them. So those messages are getting lost(Getting lost mean the consumer
won't get them back when it come back online) if I gracefully shutdown the
consumer. In my case gracefully shutdown means I will unsubscribe the
durable consumer from the topic during shutdown. 

If I don't unsubscribe the subscription, the broker mark the consumer as
inactive durable subscriber and the consumer will get the messages again
when it subscribe again.

That's an expected behavior I think.

Thanks,
Anuj




--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-How-to-retain-inflight-messages-post-consumer-restart-tp4727027p4727134.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message