JMS Connection string

From Ever changing code
Jump to navigation Jump to search

Each JMS connection string to ampq protocol requires some default settings, explained below.

The previous configuration would allow reconnection to MB in case of a disruption of ( 1 + 2 cycles of proofs ) * 5 retries * ( 30s of connection timeout + 10s of delay between retry) = 10min

amqp://USER:PASS@clientID/carbon?failover='roundrobin'&cyclecount='2'&brokerlist='tcp://mb-1:5672?retries='5'&connecttimeout='30000'&connectdelay='10000';tcp://mb-2:5672?retries='5'&connecttimeout=30000&connectdelay='10000''