qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1534593 - /qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp
Date Tue, 22 Oct 2013 10:43:19 GMT
Author: gsim
Date: Tue Oct 22 10:43:19 2013
New Revision: 1534593

URL: http://svn.apache.org/r1534593
Log:
QPID-5232: fix handling of autodelete for subscription queues of default reliability

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp?rev=1534593&r1=1534592&r2=1534593&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp Tue Oct 22 10:43:19 2013
@@ -396,7 +396,7 @@ void Session::setupOutgoing(pn_link_t* l
         authorise.access(node.exchange);//do separate access check before trying to create
the queue
         bool shared = is_capability_requested(SHARED, pn_terminus_capabilities(source));
         bool durable = pn_terminus_get_durability(source);
-        bool autodelete = !durable && pn_link_remote_snd_settle_mode(link) == PN_SND_SETTLED;
+        bool autodelete = !durable && pn_link_remote_snd_settle_mode(link) != PN_SND_UNSETTLED;
         QueueSettings settings(durable, autodelete);
         std::string altExchange;
         if (node.topic) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message