qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith W <keith.w...@gmail.com>
Subject Re: Regarding Java Client Issue with AMQP broker
Date Wed, 08 Aug 2012 12:28:43 GMT
Hello Keertiraj

The Qpid Java Client does not automatically reconnect to the Broker unless
the feature is configured within the connection url.   See the JMS
connection section of the Programming in Apache Qpi docbook:


If you have a single broker, use retries and connectdelay _broker_
options.  The client will retry up to the given number of attempts, waiting
connectdelay milliseconds between each attempt before giving up.

If you have a cluster of brokers, and wish to failover between brokers in
the event of broker failure, additionally look at the failover _client_
options within the url.

There are useful examples in the docbook which you should be able to adapt
to your usecase.  Take care with the quoting (') of the arguments to
options within the URL.  The single quotes around option values are

Out of curiosity, which Broker are you using C++ or Java?

I hope this answers your question.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message