No, "connecttimeout" being unused isn't intended, but it appears to have been that way since 0.6 went out, see: https://issues.apache.org/jira/browse/QPID-4051.
"qpid.failover_method_timeout" is not intended to be used instead of it but is instead a very recently introduced system property that can be used to control a previously hard coded value in an entirely different area of code. As someone once said in a commit message "hard coding makes coding hard". This is a good example of one of those 'we dont really expect/want people to use and so shouldnt bother to confuse them by documenting it' system properties I just mentioned in my other email. Robbie On 9 August 2012 16:10, Rajith Attapattu <[email protected]> wrote: > While looking up the code to answer a question from a user, I noticed > that we don't use "connecttimeout" any where. > This property is retrieved using the "getTimeout()" method in > AMQBrokerDetails.java > > However the getTimeout() method (or the property) is not used any > where else in the code. > Instead it appears we use "qpid.failover_method_timeout" with a > default of 120000 > (We should also document these system properties in the docs) > > Is this behaviour correct and as expected ? > Could anybody who is familiar with this change/feature shed some light on > this? > > Regards, > > Rajith > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
