This commit is contained in:
Clebert Suconic 2017-08-03 11:41:58 -04:00
commit 64783c2504
1 changed files with 3 additions and 2 deletions

View File

@ -298,8 +298,9 @@ public class AMQConsumer {
} }
} }
if (ack.isExpiredAck()) { if (ack.isExpiredAck()) {
//adjust delivering count for expired messages for (MessageReference ref : ackList) {
this.serverConsumer.getQueue().decDelivering(ackList.size()); ref.getQueue().expire(ref);
}
} }
} }