activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <jira+amq...@apache.org>
Subject [jira] Resolved: (AMQNET-285) Error in FailoverTransport.BuildBackups()
Date Thu, 23 Sep 2010 18:36:42 GMT

     [ https://issues.apache.org/activemq/browse/AMQNET-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish resolved AMQNET-285.
---------------------------------

    Resolution: Fixed

Fixed in trunk and the 1.4.x fixes branch

> Error in FailoverTransport.BuildBackups()
> -----------------------------------------
>
>                 Key: AMQNET-285
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-285
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: NMS
>            Reporter: Andrew Westberg
>            Assignee: Timothy Bish
>             Fix For: 1.4.1
>
>
> Around line 1148 in FailoverTransport.cs, there is the following code:
>  if(backups.Count < BackupPoolSize)
> {
>         break;
> }
> In the Java code in FailoverTransport.java, there is a loop that has the opposite effect
as the C# code.
>                 for (Iterator<URI> iter = connectList.iterator(); iter.hasNext()
&& backups.size() < backupPoolSize;) {
> In Java, we STAY IN the loop as long as we haven't filled up the backups collection.
 In C#, we're incorrectly BAILING OUT if we haven't filled up the collection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message