activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1000568 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
Date Thu, 23 Sep 2010 18:29:41 GMT
Author: tabish
Date: Thu Sep 23 18:29:40 2010
New Revision: 1000568

URL: http://svn.apache.org/viewvc?rev=1000568&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQNET-285

Fix the if condition so that it only exits when the number of backups has been reached or
all the URIs have been tried.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs?rev=1000568&r1=1000567&r2=1000568&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
Thu Sep 23 18:29:40 2010
@@ -1164,7 +1164,7 @@ namespace Apache.NMS.ActiveMQ.Transport.
 							}
 						}
 
-						if(backups.Count < BackupPoolSize)
+						if(backups.Count == BackupPoolSize)
 						{
 							break;
 						}



Mime
View raw message