Can you please submit a bug in JIRA for this issue? On May 30, 2017 1:21 AM, "vishal3007" <vishal3...@gmail.com> wrote:
> if ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE is used as acknowledgement > option and more than one message is re-delivered only first message is > having ActiveMQMessage.getJMSRedelivered() as true other messages are > returing false. > > Please see the attached java class to reproduce the issue. > > The side effect of this issue is that if we have max-delivery-attempts as 2 > and 2 messages are not ack, then 1st message will be delivered twice but > 2nd > message will be delivered 3 times. > > Note: If Session.CLIENT_ACKNOWLEDGE is used then > ActiveMQMessage.getJMSRedelivered() is working fine. > > EmbeddedExample.java > <http://activemq.2283324.n4.nabble.com/file/n4726669/EmbeddedExample.java> > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/ActiveMQMessage-getJMSRedelivered-is- > returning-false-in-case-of-redeliveried-message-with- > ActiveMQJME-tp4726669.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >