You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/06/13 20:49:17 UTC
svn commit: r1492813 - in /activemq/activemq-cpp/branches/3.7.x: ./
activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
Author: tabish
Date: Thu Jun 13 18:49:17 2013
New Revision: 1492813
URL: http://svn.apache.org/r1492813
Log:
fix for: https://issues.apache.org/jira/browse/AMQCPP-491
Modified:
activemq/activemq-cpp/branches/3.7.x/ (props changed)
activemq/activemq-cpp/branches/3.7.x/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
Propchange: activemq/activemq-cpp/branches/3.7.x/
------------------------------------------------------------------------------
Merged /activemq/activemq-cpp/trunk:r1492810
Modified: activemq/activemq-cpp/branches/3.7.x/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/3.7.x/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp?rev=1492813&r1=1492812&r2=1492813&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/3.7.x/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp (original)
+++ activemq/activemq-cpp/branches/3.7.x/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp Thu Jun 13 18:49:17 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;