diff options
author | Robert Gemmell <robbie@apache.org> | 2015-02-12 11:42:03 +0000 |
---|---|---|
committer | Robert Gemmell <robbie@apache.org> | 2015-02-12 11:42:03 +0000 |
commit | a3c5d96d61fdaf76f4cf9dd4e3f543fb87ee95d6 (patch) | |
tree | bcdb0cde6cf41812d427985e567469be391818a8 | |
parent | 90fcef0d551f0defd22a60b447446856cc39e750 (diff) | |
download | qpid-python-a3c5d96d61fdaf76f4cf9dd4e3f543fb87ee95d6.tar.gz |
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
-rw-r--r-- | qpid/java/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } } |