From e8e2210145df9122b0239782ec75863b55efb822 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 27 Jul 2015 19:59:42 +0000 Subject: 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 --- qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp') 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 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 encoded(new EncodedMessage(pn_delivery_pending(current))); encoded->setNestAnnotationsOption(nestAnnotations); -- cgit v1.2.1