Difference between revisions of "JMS Connection string"

From Ever changing code
Jump to navigation Jump to search
(Created page with "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...")
 
 
Line 4: Line 4:
( 1 + 2 cycles of proofs ) * 5 retries * ( 30s of connection timeout + 10s of delay between retry) = 10min
( 1 + 2 cycles of proofs ) * 5 retries * ( 30s of connection timeout + 10s of delay between retry) = 10min
<source>
<source>
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''
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''
</source>
</source>

Latest revision as of 19:57, 17 July 2018

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''