diff options
| author | Carl C. Trieloff <cctrieloff@apache.org> | 2007-11-03 01:00:03 +0000 |
|---|---|---|
| committer | Carl C. Trieloff <cctrieloff@apache.org> | 2007-11-03 01:00:03 +0000 |
| commit | 3c0a29f8d66b9866a2842d0a1a58ec89065f1af3 (patch) | |
| tree | f96184b4d29bea2e0dae654b9cc16423fef7bd53 /cpp/src/qpid/broker/MessageStoreModule.cpp | |
| parent | 0b6caa355913c10b29ef85731c45e57013b3c0a7 (diff) | |
| download | qpid-python-3c0a29f8d66b9866a2842d0a1a58ec89065f1af3.tar.gz | |
- support for store to abort init / force
- there is an issue exiting via exception not related to this fix, but uncovered
by this fix - JIRA 671
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@591526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/MessageStoreModule.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/MessageStoreModule.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/MessageStoreModule.cpp b/cpp/src/qpid/broker/MessageStoreModule.cpp index 384dfff6dc..1ddad65c56 100644 --- a/cpp/src/qpid/broker/MessageStoreModule.cpp +++ b/cpp/src/qpid/broker/MessageStoreModule.cpp @@ -28,9 +28,10 @@ MessageStoreModule::MessageStoreModule(const std::string& name) : store(name) { } -void MessageStoreModule::init(const std::string& dir, const bool async) +bool MessageStoreModule::init(const std::string& dir, const bool async, const bool force) { - store->init(dir, async); + store->init(dir, async, force); + return true; } void MessageStoreModule::create(PersistableQueue& queue) |
