diff options
author | Kim van der Riet <kpvdr@apache.org> | 2012-08-27 15:40:33 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2012-08-27 15:40:33 +0000 |
commit | 868ce7469262d6fd2fe3f2e7f04cfe7af654d59f (patch) | |
tree | 63e6b5e62554609beb21e8c8d0610569f36d2743 /cpp/src/qpid/broker/SimpleQueue.cpp | |
parent | 2e5ff8f1b328831043e6d7e323249d62187234c6 (diff) | |
download | qpid-python-868ce7469262d6fd2fe3f2e7f04cfe7af654d59f.tar.gz |
QPID-3858: Updated code to include recent refactoring by Gordon (gsim) - see QPID-4178.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1377715 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SimpleQueue.cpp')
-rw-r--r-- | cpp/src/qpid/broker/SimpleQueue.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/SimpleQueue.cpp b/cpp/src/qpid/broker/SimpleQueue.cpp index 5cd8841f94..e20edc1f92 100644 --- a/cpp/src/qpid/broker/SimpleQueue.cpp +++ b/cpp/src/qpid/broker/SimpleQueue.cpp @@ -171,7 +171,7 @@ SimpleQueue::enqueue(SimpleTxnBuffer* tb, return false; } if (qm->payload()->isPersistent() && m_store) { - qm->payload()->enqueueAsync(shared_from_this(), m_store); + qm->payload()->getPersistentContext()->enqueueAsync(shared_from_this(), m_store); return asyncEnqueue(tb, qm); } return false; @@ -190,7 +190,7 @@ SimpleQueue::dequeue(SimpleTxnBuffer* tb, return false; } if (qm->payload()->isPersistent() && m_store) { - qm->payload()->dequeueAsync(shared_from_this(), m_store); + qm->payload()->getPersistentContext()->dequeueAsync(shared_from_this(), m_store); return asyncDequeue(tb, qm); } return true; @@ -316,7 +316,7 @@ SimpleQueue::asyncEnqueue(SimpleTxnBuffer* tb, boost::shared_ptr<SimpleQueuedMessage> qm) { assert(qm.get()); boost::shared_ptr<QueueAsyncContext> qac(new QueueAsyncContext(shared_from_this(), - qm->payload(), + /*qm->payload(),*/ tb, &handleAsyncEnqueueResult, &m_resultQueue)); @@ -353,7 +353,7 @@ SimpleQueue::asyncDequeue(SimpleTxnBuffer* tb, boost::shared_ptr<SimpleQueuedMessage> qm) { assert(qm.get()); boost::shared_ptr<QueueAsyncContext> qac(new QueueAsyncContext(shared_from_this(), - qm->payload(), + /*qm->payload(),*/ tb, &handleAsyncDequeueResult, &m_resultQueue)); |