Assuming it's the JMS client, If you have a single broker then you could set "retries" to a large amount along with a delay btw retries. Ex.
amqp://username:password@clientid/test?brokerlist='tcp://localhost:5672?retries='1000'&connectdelay='5000'' If you have a list of brokers, then you could additionally specify a cycle count. The cycle count specifies how many times your entire list is tried. Ex. amqp://username:password@clientid/test?cyclecount='1000'&brokerlist='tcp://localhost:5672?retries='10'&connectdelay='5000';tcp://localhost:6672?retries='10'&connectdelay='5000'' On Wed, Jul 3, 2013 at 8:50 AM, Gordon Sim <[email protected]> wrote: > On 07/03/2013 01:36 PM, Rajesh wrote: > >> how can i configure the connection url such that retries to make >> connection to the broker is infinite. now the current retry parameter >> value >> is set to 10. But would like to change it to infinite connection retries >> until is broker is brought up. >> > > Is this for the JMS client? > > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > [email protected].**org<[email protected]> > For additional commands, e-mail: [email protected] > >
