diff options
| author | Gordon Sim <gsim@apache.org> | 2007-11-08 14:05:38 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-11-08 14:05:38 +0000 |
| commit | 604a216da725da2770978756de763caa5c66e5c7 (patch) | |
| tree | 194340aa45f23efb6fc037d11f61ff63d47ffc7f /cpp/src/qpid/broker/NullMessageStore.h | |
| parent | cb5d95fba16cbe2a0e03eae6ba6c9ce776b88327 (diff) | |
| download | qpid-python-604a216da725da2770978756de763caa5c66e5c7.tar.gz | |
Make standard exchanges durable
Ensure flags are set correctly for recovered messages with no content
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593159 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/NullMessageStore.h')
| -rw-r--r-- | cpp/src/qpid/broker/NullMessageStore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/NullMessageStore.h b/cpp/src/qpid/broker/NullMessageStore.h index 96aa286b82..b58bd20ab3 100644 --- a/cpp/src/qpid/broker/NullMessageStore.h +++ b/cpp/src/qpid/broker/NullMessageStore.h @@ -38,7 +38,7 @@ class NullMessageStore : public MessageStore public: NullMessageStore(bool warn = false); - virtual bool init(const std::string& dir, const bool async, const bool force); + virtual bool init(const std::string& dir, const bool async, const bool force); virtual std::auto_ptr<TransactionContext> begin(); virtual std::auto_ptr<TPCTransactionContext> begin(const std::string& xid); virtual void prepare(TPCTransactionContext& txn); @@ -63,7 +63,7 @@ public: virtual void enqueue(TransactionContext* ctxt, PersistableMessage& msg, const PersistableQueue& queue); virtual void dequeue(TransactionContext* ctxt, PersistableMessage& msg, const PersistableQueue& queue); virtual u_int32_t outstandingQueueAIO(const PersistableQueue& queue); - virtual void flush(const qpid::broker::PersistableQueue& queue); + virtual void flush(const qpid::broker::PersistableQueue& queue); ~NullMessageStore(){} }; |
