diff options
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.cpp')
-rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 2 |
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) { |