Hi again, Scratch my last post - I got it working - it was a screw up in my URL.
In case anyone is interested I used the following test URL to get it working amqpurl = "amqp://guest:guest@clientid/test?brokerlist='tcp://localhost:5672?retries='10'&connectdelay='5000''"; What I'd got wrong was the quotes inside the quotes of the BrokerURL, I also use & between 5672 and retries instead of ? when I clocked it was a URL within a URL I started from first principles to create each URL - these things aren't the easiest of things to debug :-) One thing I've noticed is that it doesn't seem to be possible to specify infinite retries. It looks like it's implemented in ./client/src/main/java/org/apache/qpid/jms/failover/FailoverSingleServer.java and I could only see a way to specify a large (but finite) value - is this correct. I guess it's no big deal as a value of Integer.MAX_VALUE and connectdelay of 1000 would give about 68 years of retries :-) Fraser -- View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/Does-JMS-reconnection-work-with-C-broker-tp6626241p6626867.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
