activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rolin <ro...@wellington.com>
Subject Can failover transport retry current connection first?
Date Thu, 22 Nov 2012 19:53:41 GMT
Hi, 

I am running activemq 5.4.2 with JDK1.6.025 in Linux.   There are two
brokers configured via network of brokers.  Java client connects to brokers
using the following failover url: 
failover:(tcp://broker1:61616,tcp://broker2:61616)?randomize=false&initialReconnectDelay=15000&maxReconnectAttempts=10


Java client sometimes falsely detects connection lost to broker1 and
successfully reconnects to broker2.  Is there a way to configure failover
transport to retry broker1 first before trying broker2? 

I understand that "Priority Backup" is introduced as part of 5.6.0 and that
might serve the purpose.  But I am using 5.4.2 and do not plan to upgrade in
near future. 

The cause of false detection of connection lost is under investigation.  It
could be caused by long GC (>30 seconds).  But it is a separate issue. 

Regards,
-Ron



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-failover-transport-retry-current-connection-first-tp4659681.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message