summaryrefslogtreecommitdiff
path: root/qpid/cpp/lib/broker/NullMessageStore.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-12-13 09:22:07 +0000
committerGordon Sim <gsim@apache.org>2006-12-13 09:22:07 +0000
commitd89955fa13d7356209713d28b14243392acde8c5 (patch)
treef7fe3ec45908672be81494804ede987846b30c49 /qpid/cpp/lib/broker/NullMessageStore.cpp
parent454d71a6a004f42e3137db5351ece5a78781b277 (diff)
downloadqpid-python-d89955fa13d7356209713d28b14243392acde8c5.tar.gz
Added prepared() method to MessageStore interface.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@486555 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/broker/NullMessageStore.cpp')
-rw-r--r--qpid/cpp/lib/broker/NullMessageStore.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/cpp/lib/broker/NullMessageStore.cpp b/qpid/cpp/lib/broker/NullMessageStore.cpp
index a8318a4bf7..571ca7566b 100644
--- a/qpid/cpp/lib/broker/NullMessageStore.cpp
+++ b/qpid/cpp/lib/broker/NullMessageStore.cpp
@@ -75,6 +75,11 @@ void NullMessageStore::dequeue(TransactionContext*, Message* const, const Queue&
if (warn) std::cout << "WARNING: Can't dequeue message from '" << queue.getName() << "'. Persistence not enabled." << std::endl;
}
+void NullMessageStore::prepared(const string * const)
+{
+ if (warn) std::cout << "WARNING: Persistence not enabled." << std::endl;
+}
+
void NullMessageStore::committed(const string * const)
{
if (warn) std::cout << "WARNING: Persistence not enabled." << std::endl;