You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pavel Moravec (JIRA)" <ji...@apache.org> on 2013/01/25 10:53:13 UTC

[jira] [Created] (QPID-4549) Java client ignores retry parameters for the very first broker

Pavel Moravec created QPID-4549:
-----------------------------------

             Summary: Java client ignores retry parameters for the very first broker
                 Key: QPID-4549
                 URL: https://issues.apache.org/jira/browse/QPID-4549
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: 0.18
            Reporter: Pavel Moravec
            Priority: Minor


Two similar bugs found I decided to log as one JIRA, posting common patch for them.

1) retries parameter is ignored for the first broker in brokerlist when the client connects for the first time to it. In next cycle over the brokers, the parameter is applied properly to the same broker.

Root cause of the bug: Constructor of FailoverRoundRobinServers class misses calling setBroker method that sets up variables like _serverRetries.

2) connectdelay parameter is _everytime_ ignored for the very first broker in brokerlist (regardless of the client cycled over the brokers in list or not).

Root cause: doDelay variable that directly causes the connectdelay parameter ignored for first broker is present (was that by some purpose? I do not see any reason for it..)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org