From a3c5d96d61fdaf76f4cf9dd4e3f543fb87ee95d6 Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Thu, 12 Feb 2015 11:42:03 +0000 Subject: QPID-6240: increment the delivery count when applying the new state and releasing the queue entry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1659229 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java | 1 + 1 file changed, 1 insertion(+) (limited to 'qpid/java') diff --git a/qpid/java/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java b/qpid/java/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java index 829b3bf336..3b9521866c 100644 --- a/qpid/java/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java +++ b/qpid/java/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java @@ -426,6 +426,7 @@ class ConsumerTarget_1_0 extends AbstractConsumerTarget modified.setDeliveryFailed(true); _link.getEndpoint().updateDisposition(_deliveryTag, modified, true); _link.getEndpoint().sendFlowConditional(); + _queueEntry.incrementDeliveryCount(); _queueEntry.release(); } } -- cgit v1.2.1