fix regression AMQ-1959

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@700746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2008-10-01 12:01:00 +00:00
parent a3eb327703
commit 4d6043aa94
1 changed files with 1 additions and 0 deletions

View File

@ -880,6 +880,7 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC
ack.setTransactionId(session.getTransactionContext().getTransactionId());
}
session.sendAck(ack);
pendingAck = null;
// Adjust the counters
deliveredCounter -= deliveredMessages.size();