summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-05-09 09:29:03 +0000
committerGordon Sim <gsim@apache.org>2008-05-09 09:29:03 +0000
commit53428ae6d4d2705a5df7eda2d43fdfbc92da3670 (patch)
tree420c851012e51c6a30218213752381f3f7c4558b /cpp/src
parent7a3ba4a389bfdbdbf526bfd37fe73cbc6c04db8e (diff)
downloadqpid-python-53428ae6d4d2705a5df7eda2d43fdfbc92da3670.tar.gz
QPID-1042: ensure delievery record is kept where accept_mode=not-required, acquire_mode=not-acquired and flow_mode=credit
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654737 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/SemanticState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp
index e73540891c..784c916528 100644
--- a/cpp/src/qpid/broker/SemanticState.cpp
+++ b/cpp/src/qpid/broker/SemanticState.cpp
@@ -274,7 +274,7 @@ bool SemanticState::ConsumerImpl::deliver(QueuedMessage& msg)
allocateCredit(msg.payload);
DeliveryId deliveryTag =
parent->deliveryAdapter.deliver(msg, token);
- if (windowing || ackExpected) {
+ if (windowing || ackExpected || !acquire) {
parent->record(DeliveryRecord(msg, queue, name, token, deliveryTag, acquire, !ackExpected));
}
if (acquire && !ackExpected) {