activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Westberg (JIRA)" <>
Subject [jira] Created: (AMQNET-285) Error in FailoverTransport.BuildBackups()
Date Fri, 17 Sep 2010 16:42:40 GMT
Error in FailoverTransport.BuildBackups()

                 Key: AMQNET-285
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: NMS
            Reporter: Andrew Westberg
            Assignee: Jim Gomes

Around line 1148 in FailoverTransport.cs, there is the following code:

 if(backups.Count < BackupPoolSize)

In the Java code in, 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.

View raw message