diff options
| author | Gordon Sim <gsim@apache.org> | 2008-05-09 09:29:03 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-05-09 09:29:03 +0000 |
| commit | 859f4e37a8b5b5f42861f5abec992251ff942db3 (patch) | |
| tree | 5a87529bdbf737485b56b1adf371ae22db850b5a /qpid/cpp/src | |
| parent | 367283cac64f43994c6932d39e954cc02027b9d0 (diff) | |
| download | qpid-python-859f4e37a8b5b5f42861f5abec992251ff942db3.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@654737 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/SemanticState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/SemanticState.cpp b/qpid/cpp/src/qpid/broker/SemanticState.cpp index e73540891c..784c916528 100644 --- a/qpid/cpp/src/qpid/broker/SemanticState.cpp +++ b/qpid/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) { |
