redelivery processing begins once there is an exception or transaction rollback, it is not based on a time since delivery. So in your case, activemq consider the message inflight till you acknowledge or till the consumer closes, so there will be no redelivery.
see: http://activemq.apache.org/message-redelivery-and-dlq-handling.html On 4 April 2012 07:23, newtonsri <[email protected]> wrote: > Hi, > > I am using Client_acknowledge mode of acknowledgement in my application. I > ll be sending the acknowledgement after processing the message. > I have a doubt, the ActiveMQ redelivers the message upon timeout of > redelivery delay; what if my message.acknowledge() and the redelivery takes > place simultaneously? Does activemq handle this? > > Thanks. > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Acknowledgement-and-redelivery-tp4531068p4531068.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://fusesource.com http://blog.garytully.com
