From 39dd61bc66b531810160ef00de938846c27052c9 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 13 Dec 2006 09:22:07 +0000 Subject: Added prepared() method to MessageStore interface. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486555 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/broker/NullMessageStore.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpp/lib/broker/NullMessageStore.cpp') diff --git a/cpp/lib/broker/NullMessageStore.cpp b/cpp/lib/broker/NullMessageStore.cpp index a8318a4bf7..571ca7566b 100644 --- a/cpp/lib/broker/NullMessageStore.cpp +++ b/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; -- cgit v1.2.1