Hello,

I have some servers A1, A2, AN, ... that send messages on a queue on servers
B1 ans B2. I configured my A servers to connect with the following URI :
failover:(tcp://B1:61616,tcpB2:62626). But when activemq is stopped on both
B1 and B2, my servers A wait a long time before deciding that B1 and B2 are
down. So I test to add a timeout.

If I configure my A servers with : tcp://B1:61616?connectionTimeout=1000, I
have no problem. But if I configured with the following :
failover:(tcp://B1:61616?connectionTimeout=1000,tcp://B2:62626?connectionTimeout=1000),
it doesn't work. I tried lot of things :
- set connectionTimeout after the ) :
failover:(B1,B2)?connectionTimeout=1000
- set closeTimeout on my ConnectionFactory
- set wireFormat.maxInactivityDuration
- ...

I can't get it work.

Could you tell me how to configure it ?

Thanks !!

Delphine
-- 
View this message in context: 
http://www.nabble.com/Timeout-and-Failover-on-a-queue-tf4652630s2354.html#a13292887
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to