On Tue, 10 Jun 2014 06:06:03 -0400, Timothy Bish
<tabish...@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

Reply via email to