Author: astitcher
Date: Mon Jun  8 18:06:09 2009
New Revision: 782715

URL: http://svn.apache.org/viewvc?rev=782715&view=rev
Log:
YA Fix to the cluster behaviour of the client heartbeat
(non) detection code

Modified:
    qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp?rev=782715&r1=782714&r2=782715&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp Mon Jun  8 
18:06:09 2009
@@ -66,7 +66,9 @@
 
 void OutputInterceptor::abort() {
     sys::Mutex::ScopedLock l(lock);
-    next->abort();
+    if (parent.isLocal()) {
+        next->abort();
+    }
 }
 
 void OutputInterceptor::giveReadCredit(int32_t credit) {



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to