diff options
author | Gordon Sim <gsim@apache.org> | 2007-05-17 11:03:55 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-05-17 11:03:55 +0000 |
commit | c3c4377d18c0725963bd16d5fb6106afcac3e6f8 (patch) | |
tree | 7b15c9e5c80874f0957ed51ca41357c2afd2c11e /qpid/cpp/src/qpid/broker/NullMessageStore.cpp | |
parent | 0d3e290f5cf129f7222b7a77481ade6086e372e1 (diff) | |
download | qpid-python-c3c4377d18c0725963bd16d5fb6106afcac3e6f8.tar.gz |
Changes to support durable exchanges.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@538872 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/broker/NullMessageStore.cpp')
-rw-r--r-- | qpid/cpp/src/qpid/broker/NullMessageStore.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/broker/NullMessageStore.cpp b/qpid/cpp/src/qpid/broker/NullMessageStore.cpp index 393bbb8f02..686c2238ff 100644 --- a/qpid/cpp/src/qpid/broker/NullMessageStore.cpp +++ b/qpid/cpp/src/qpid/broker/NullMessageStore.cpp @@ -39,13 +39,18 @@ void NullMessageStore::destroy(const PersistableQueue& queue) if (warn) std::cout << "WARNING: Can't destroy durable queue '" << queue.getName() << "'. Persistence not enabled." << std::endl; } -void NullMessageStore::create(const PersistableExchange&) +void NullMessageStore::create(const PersistableExchange& exchange) { + if (warn) std::cout << "WARNING: Can't create durable exchange '" << exchange.getName() << "'. Persistence not enabled." << std::endl; } -void NullMessageStore::destroy(const PersistableExchange&) +void NullMessageStore::destroy(const PersistableExchange& exchange) { + if (warn) std::cout << "WARNING: Can't destroy durable exchange '" << exchange.getName() << "'. Persistence not enabled." << std::endl; } +void NullMessageStore::bind(const PersistableExchange&, const PersistableQueue&, const std::string&, const framing::FieldTable&){} + +void NullMessageStore::unbind(const PersistableExchange&, const PersistableQueue&, const std::string&, const framing::FieldTable&){} void NullMessageStore::recover(RecoveryManager&) { |