summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/NullMessageStore.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-12-06 17:51:42 +0000
committerGordon Sim <gsim@apache.org>2006-12-06 17:51:42 +0000
commitf2d0f0cfbfebb082e92f28b8d1b2987a0f20acf6 (patch)
treed71e0a7854dcfbef75040ee426b53f6369e0cc7a /cpp/lib/broker/NullMessageStore.cpp
parentf8c692d37104a95ad245402ffe0d7d6b7c4ea816 (diff)
downloadqpid-python-f2d0f0cfbfebb082e92f28b8d1b2987a0f20acf6.tar.gz
Allow non-durable messages to be lazy-loaded. Cleanup of lazy-loaded messages
that are never enqueued. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/NullMessageStore.cpp')
-rw-r--r--cpp/lib/broker/NullMessageStore.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/lib/broker/NullMessageStore.cpp b/cpp/lib/broker/NullMessageStore.cpp
index 3c29994aac..a8318a4bf7 100644
--- a/cpp/lib/broker/NullMessageStore.cpp
+++ b/cpp/lib/broker/NullMessageStore.cpp
@@ -45,12 +45,12 @@ void NullMessageStore::recover(RecoveryManager&, const MessageStoreSettings* con
if (warn) std::cout << "WARNING: Persistence not enabled, no recovery of queues or messages." << std::endl;
}
-void NullMessageStore::stage(Message::shared_ptr&)
+void NullMessageStore::stage(Message* const)
{
if (warn) std::cout << "WARNING: Can't stage message. Persistence not enabled." << std::endl;
}
-void NullMessageStore::destroy(Message::shared_ptr&)
+void NullMessageStore::destroy(Message* const)
{
if (warn) std::cout << "WARNING: No need to destroy staged message. Persistence not enabled." << std::endl;
}
@@ -65,12 +65,12 @@ void NullMessageStore::loadContent(Message* const, string&, u_int64_t, u_int32_t
if (warn) std::cout << "WARNING: Can't load content. Persistence not enabled." << std::endl;
}
-void NullMessageStore::enqueue(TransactionContext*, Message::shared_ptr&, const Queue& queue, const string * const)
+void NullMessageStore::enqueue(TransactionContext*, Message* const, const Queue& queue, const string * const)
{
if (warn) std::cout << "WARNING: Can't enqueue message onto '" << queue.getName() << "'. Persistence not enabled." << std::endl;
}
-void NullMessageStore::dequeue(TransactionContext*, Message::shared_ptr&, const Queue& queue, const string * const)
+void NullMessageStore::dequeue(TransactionContext*, Message* const, const Queue& queue, const string * const)
{
if (warn) std::cout << "WARNING: Can't dequeue message from '" << queue.getName() << "'. Persistence not enabled." << std::endl;
}