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()) {
//adjust delivering count for expired messages
this.serverConsumer.getQueue().decDelivering(ackList.size());
for (MessageReference ref : ackList) {
ref.getQueue().expire(ref);
}
}
}