diff options
author | Gordon Sim <gsim@apache.org> | 2006-12-13 09:22:07 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-12-13 09:22:07 +0000 |
commit | 39dd61bc66b531810160ef00de938846c27052c9 (patch) | |
tree | 17e773b91f7e5c98302a1e5d67fcc6398c67b2f0 /cpp/lib/broker/NullMessageStore.cpp | |
parent | a775c87d5e2c5a6e1f8205541378ab3e1a0a8089 (diff) | |
download | qpid-python-39dd61bc66b531810160ef00de938846c27052c9.tar.gz |
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
Diffstat (limited to 'cpp/lib/broker/NullMessageStore.cpp')
-rw-r--r-- | cpp/lib/broker/NullMessageStore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; |