You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2011/04/19 22:38:02 UTC

svn commit: r1095201 - /qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.cpp

Author: aconway
Date: Tue Apr 19 20:38:02 2011
New Revision: 1095201

URL: http://svn.apache.org/viewvc?rev=1095201&view=rev
Log:
QPID-3215: cached exchange reference can cause cluster inconsistencies if exchange is deleted/recreated (2)

Previous commit only updated one of the two Exchange constructors, this commit
updates the other.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.cpp?rev=1095201&r1=1095200&r2=1095201&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.cpp Tue Apr 19 20:38:02 2011
@@ -179,7 +179,7 @@ Exchange::Exchange (const string& _name,
 Exchange::Exchange(const string& _name, bool _durable, const qpid::framing::FieldTable& _args,
                    Manageable* parent, Broker* b)
     : name(_name), durable(_durable), alternateUsers(0), persistenceId(0),
-      args(_args), sequence(false), sequenceNo(0), ive(false), mgmtExchange(0), broker(b)
+      args(_args), sequence(false), sequenceNo(0), ive(false), mgmtExchange(0), broker(b), destroyed(false)
 {
     if (parent != 0 && broker != 0)
     {



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org