mirror of https://github.com/apache/activemq.git
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:
parent
a3eb327703
commit
4d6043aa94
|
@ -880,6 +880,7 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC
|
||||||
ack.setTransactionId(session.getTransactionContext().getTransactionId());
|
ack.setTransactionId(session.getTransactionContext().getTransactionId());
|
||||||
}
|
}
|
||||||
session.sendAck(ack);
|
session.sendAck(ack);
|
||||||
|
pendingAck = null;
|
||||||
|
|
||||||
// Adjust the counters
|
// Adjust the counters
|
||||||
deliveredCounter -= deliveredMessages.size();
|
deliveredCounter -= deliveredMessages.size();
|
||||||
|
|
Loading…
Reference in New Issue