You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2010/09/23 20:31:41 UTC

[jira] Assigned: (AMQNET-285) Error in FailoverTransport.BuildBackups()

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

Timothy Bish reassigned AMQNET-285:
-----------------------------------

    Assignee: Timothy Bish  (was: Jim Gomes)

> 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.