activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spam trap <nospam.1.friedbad...@spamgourmet.com>
Subject Re: Question on failover transport options
Date Tue, 10 Jun 2014 10:47:23 GMT
On Tue, 10 Jun 2014 06:06:03 -0400, Timothy Bish
<tabish121@gmail.com> wrote:

>On 06/10/2014 04:42 AM, spam trap wrote:
>> [ActiveMQ-CPP 3.8.2]
>>
>> I am unsure how to configure the failover transport correctly.  We
>> have maxReconnectAttempts & startupMaxReconnectAttempts set to the
>> default which should mean the transport should retry to connect
>> forever, yes?  However, if the broker is not available, the connection
>> attempt gives up after 20 seconds (which is the setting of "timeout"
>> which I believe is only for sending data, yes?)
>>
>> (The other connection options we are using are:
>> useExponentialBackOff=false
>> initialReconnectDelay=5000
>> timeout=20000)
>>
>> Can anyone clarify this?
>>
>>
>Please provide the complete connection URI so we can see what you are 
>starting from.

Here's an example:

failover://(tcp://localhost:61617)?useExponentialBackOff=false&initialReconnectDelay=5000&timeout=20000


Mime
View raw message