activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r990953 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransport.cpp
Date Mon, 30 Aug 2010 21:33:13 GMT
Author: tabish
Date: Mon Aug 30 21:33:12 2010
New Revision: 990953

URL: http://svn.apache.org/viewvc?rev=990953&view=rev
Log:
don't throw an error when no URIs in the free pool.

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=990953&r1=990952&r2=990953&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
Mon Aug 30 21:33:12 2010
@@ -689,7 +689,7 @@ bool FailoverTransport::iterate() {
                 try{
                     uri = uris->getURI();
                 } catch( NoSuchElementException& ex ) {
-                    throw IOException( __FILE__, __LINE__, "No URIs to reconnect to." );
+                    break;
                 }
 
                 try {



Mime
View raw message