summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/BrokerQueue.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-12-08 10:36:32 +0000
committerGordon Sim <gsim@apache.org>2006-12-08 10:36:32 +0000
commite702d32dd1ca53b831fb70ffa26911575eeb0a62 (patch)
treec95c0e0a61523402bc30da986d8175710498a1f7 /cpp/lib/broker/BrokerQueue.cpp
parent2ff288327ec486a54b8406b9140c1116162424b1 (diff)
downloadqpid-python-e702d32dd1ca53b831fb70ffa26911575eeb0a62.tar.gz
Some more unit tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/BrokerQueue.cpp')
-rw-r--r--cpp/lib/broker/BrokerQueue.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/lib/broker/BrokerQueue.cpp b/cpp/lib/broker/BrokerQueue.cpp
index bfea1918a4..0e48d3b13d 100644
--- a/cpp/lib/broker/BrokerQueue.cpp
+++ b/cpp/lib/broker/BrokerQueue.cpp
@@ -65,6 +65,8 @@ void Queue::deliver(Message::shared_ptr& msg){
void Queue::recover(Message::shared_ptr& msg){
push(msg);
if (store && msg->expectedContentSize() != msg->encodedContentSize()) {
+ //content has not been loaded, need to ensure that lazy loading mode is set:
+ //TODO: find a nicer way to do this
msg->releaseContent(store);
}
}