https://issues.apache.org/jira/browse/AMQ-3539 - applying suggested fix, it makes sense. thanks

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440366 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2013-01-30 12:12:07 +00:00
parent a5dd237a60
commit bac1243840
1 changed files with 1 additions and 1 deletions

View File

@ -1376,7 +1376,7 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC
if (transactedIndividualAck) {
immediateIndividualTransactedAck(md);
} else {
ackLater(md, MessageAck.DELIVERED_ACK_TYPE);
session.sendAck(new MessageAck(md, MessageAck.DELIVERED_ACK_TYPE, 1));
}
}
}