activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gomes (JIRA)" <jira+amq...@apache.org>
Subject [jira] Updated: (AMQNET-285) Error in FailoverTransport.BuildBackups()
Date Fri, 17 Sep 2010 20:38:40 GMT

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

Jim Gomes updated AMQNET-285:
-----------------------------

    Fix Version/s: 1.4.1

> 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: Jim Gomes
>             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