activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khandelwalanuj <>
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.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message