diff options
author | Gordon Sim <gsim@apache.org> | 2015-07-27 19:59:42 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2015-07-27 19:59:42 +0000 |
commit | e8e2210145df9122b0239782ec75863b55efb822 (patch) | |
tree | af6a246d6a38207676e620642fc8f24f495b31cc | |
parent | 28b802e76bb0542db1173e19dcb6979670a1bb70 (diff) | |
download | qpid-python-e8e2210145df9122b0239782ec75863b55efb822.tar.gz |
QPID-6659: wait for full message before processing
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1692937 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp b/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp index 1b8c848941..63081c8be2 100644 --- a/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp +++ b/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp @@ -285,7 +285,7 @@ bool ConnectionContext::get(boost::shared_ptr<SessionContext> ssn, boost::shared checkClosed(ssn, lnk); pn_delivery_t* current = pn_link_current((pn_link_t*) lnk->receiver); QPID_LOG(debug, "In ConnectionContext::get(), current=" << current); - if (current) { + if (current && !pn_delivery_partial(current)) { qpid::messaging::MessageImpl& impl = MessageImplAccess::get(message); boost::shared_ptr<EncodedMessage> encoded(new EncodedMessage(pn_delivery_pending(current))); encoded->setNestAnnotationsOption(nestAnnotations); |