From f2d0f0cfbfebb082e92f28b8d1b2987a0f20acf6 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 6 Dec 2006 17:51:42 +0000 Subject: Allow non-durable messages to be lazy-loaded. Cleanup of lazy-loaded messages that are never enqueued. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483165 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/broker/NullMessageStore.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/lib/broker/NullMessageStore.h') diff --git a/cpp/lib/broker/NullMessageStore.h b/cpp/lib/broker/NullMessageStore.h index 61afe36281..913d6b0a8d 100644 --- a/cpp/lib/broker/NullMessageStore.h +++ b/cpp/lib/broker/NullMessageStore.h @@ -38,12 +38,12 @@ namespace qpid { virtual void create(const Queue& queue, const qpid::framing::FieldTable& settings); virtual void destroy(const Queue& queue); virtual void recover(RecoveryManager& queues, const MessageStoreSettings* const settings = 0); - virtual void stage(Message::shared_ptr& msg); - virtual void destroy(Message::shared_ptr& msg); + virtual void stage(Message* const msg); + virtual void destroy(Message* const msg); virtual void appendContent(Message* const msg, const std::string& data); virtual void loadContent(Message* const msg, std::string& data, u_int64_t offset, u_int32_t length); - virtual void enqueue(TransactionContext* ctxt, Message::shared_ptr& msg, const Queue& queue, const string * const xid); - virtual void dequeue(TransactionContext* ctxt, Message::shared_ptr& msg, const Queue& queue, const string * const xid); + virtual void enqueue(TransactionContext* ctxt, Message* const msg, const Queue& queue, const string * const xid); + virtual void dequeue(TransactionContext* ctxt, Message* const msg, const Queue& queue, const string * const xid); virtual void committed(const string * const xid); virtual void aborted(const string * const xid); virtual std::auto_ptr begin(); -- cgit v1.2.1