Author: tabish
Date: Thu Sep 23 18:33:34 2010
New Revision: 1000570

URL: http://svn.apache.org/viewvc?rev=1000570&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/branches/1.4.x/src/main/csharp/Transport/Failover/FailoverTransport.cs

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


Reply via email to