>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.