From 53428ae6d4d2705a5df7eda2d43fdfbc92da3670 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 9 May 2008 09:29:03 +0000 Subject: 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 --- cpp/src/qpid/broker/SemanticState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') 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) { -- cgit v1.2.1