activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <>
Subject Re: AMQ 5.5.1 - Message Routing Doesn't Resume After Network Outage
Date Fri, 30 Mar 2012 08:47:29 GMT
Hello Bruce,

You are on the right track with your investigations.
You should not really combine static with failover in this scenario. static: and failover
only get combined when building a network bridge to a master/slave pair. 

In your case you're only connecting to one remote broker, so only use static:. The static:
protocol is already capable of reconnecting your bridge after a network problem. 

If you combine static: and failover, then you need to set maxReconnectAttempts=0 or 1 depending
on the exact version used. See
for some more background information.

So your solution is to remove the failover transport from the network bridge configuration.

Hope this helps.

On Mar 30, 2012, at 2:27 AM, brucent wrote:

> This appears to be similar situation to what is described in AMQ-3277.  I
> have added a maxReconnectAttempts=1 to my network connection URL and have
> yet to see a reconnection failure.
>      <networkConnector
> uri=&quot;static:(failover:(tcp://localhost:63001)?updateURIsSupported=false&amp;amp;&lt;b>maxReconnectAttempts=1*)"
>                        name="network-connector"
>                        networkTTL="5"
>                        conduitSubscriptions="true"
>                        duplex="false"
>                        suppressDuplicateQueueSubscriptions="false"
>                        prefetchSize="1000"
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

Torsten Mielke

View raw message