activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tmi <miel...@web.de>
Subject Re: Failover error
Date Mon, 27 Aug 2007 16:05:24 GMT

>with:failover:(tcp://localhost:61616,tcp://localhost:61616)?initialReconnectDelay=10000;maxReconnectDelay=300000;useExponentialBackOff=false;maxReconnectAttempts=10
You need to separate your properties using '&' and not using ';' Hence your
URI should read 
failover:(tcp://localhost:61616,tcp://localhost:61616)?initialReconnectDelay=10000&maxReconnectDelay=300000&useExponentialBackOff=false&maxReconnectAttempts=10

Also, when using ant to run the client, escape '&' using "& amp;" (without
the space)


-- 
View this message in context: http://www.nabble.com/Failover-error-tf4313690s2354.html#a12352337
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message