activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1444436 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp
Date Sat, 09 Feb 2013 21:18:22 GMT
Author: tabish
Date: Sat Feb  9 21:18:21 2013
New Revision: 1444436

URL: http://svn.apache.org/r1444436
Log:
https://issues.apache.org/jira/browse/AMQCPP-457

Better control over Transport start and stop.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp?rev=1444436&r1=1444435&r2=1444436&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp
Sat Feb  9 21:18:21 2013
@@ -230,6 +230,8 @@ void TransportFilter::close() {
 
         if (this->impl->closed.compareAndSet(false, true)) {
 
+            this->impl->started.set(false);
+
             if (this->next == NULL) {
                 throw decaf::io::IOException(__FILE__, __LINE__, "Transport chain is invalid");
             }



Mime
View raw message