diff options
author | Gordon Sim <gsim@apache.org> | 2006-11-28 15:25:35 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-11-28 15:25:35 +0000 |
commit | 4ad5fc50f0894e219c37118252d6a618419ea212 (patch) | |
tree | b48ff062cd48b7de6b606330c5cefecf15b7691a /cpp/src/qpid/broker/MessageStoreModule.cpp | |
parent | e2665f7339231eb2d85506c86a96f0859016fa89 (diff) | |
download | qpid-python-4ad5fc50f0894e219c37118252d6a618419ea212.tar.gz |
Modifications to allow loading of message data in chunks, refragmentation of messages, plus some related refactoring and tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480087 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/MessageStoreModule.cpp')
-rw-r--r-- | cpp/src/qpid/broker/MessageStoreModule.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/MessageStoreModule.cpp b/cpp/src/qpid/broker/MessageStoreModule.cpp index 3e58a329de..168cb3d5bb 100644 --- a/cpp/src/qpid/broker/MessageStoreModule.cpp +++ b/cpp/src/qpid/broker/MessageStoreModule.cpp @@ -53,6 +53,16 @@ void MessageStoreModule::destroy(Message::shared_ptr& msg) store->destroy(msg); } +void MessageStoreModule::appendContent(u_int64_t msgId, const std::string& data) +{ + store->appendContent(msgId, data); +} + +void MessageStoreModule::loadContent(u_int64_t msgId, string& data, u_int64_t offset, u_int32_t length) +{ + store->loadContent(msgId, data, offset, length); +} + void MessageStoreModule::enqueue(TransactionContext* ctxt, Message::shared_ptr& msg, const Queue& queue, const string * const xid) { store->enqueue(ctxt, msg, queue, xid); |