You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Rajith Attapattu <ra...@gmail.com> on 2009/05/12 17:21:49 UTC
[JMS client] FailoverSingleServer retry logic seems flawed
Hi All,
IMHO there are two things wrong with the FailoverSingleServer
failverover method.
Before I raise any JIRA's for this I would like to discuss and agree on this.
1) The FailoverSingleServer.java by default retries twice before giving up.
This is wrong and it shouldn't retry at all. Unless configured with
retries option > 0 it shouldn't retry at all.
2) The number of retries == retries configured +1.
This is due to retry count starting at -1 instead of zero. Any reason
why it was done this way?
I am hoping to create JIRA's for these issues shortly
Regards,
Rajith
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org