activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1492810 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
Date Thu, 13 Jun 2013 18:47:50 GMT
Author: tabish
Date: Thu Jun 13 18:47:49 2013
New Revision: 1492810

URL: http://svn.apache.org/r1492810
Log:
fix for: https://issues.apache.org/jira/browse/AMQCPP-491

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp?rev=1492810&r1=1492809&r2=1492810&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
Thu Jun 13 18:47:49 2013
@@ -965,6 +965,9 @@ bool FailoverTransport::iterate() {
                             this->impl->firstConnection = false;
                         }
 
+                        // Return the failures to the pool, we will try again on the next
iteration.
+                        connectList->addURIs(failures);
+
                         this->impl->connected = true;
                         return false;
 



Mime
View raw message