Re: failover startupMaxReconnectAttempts doesn't do anything

2012-06-05 Thread GustavLatte
I looked for this answer for 2 days non stop !!! THANKS ! -- View this message in context: http://activemq.2283324.n4.nabble.com/failover-startupMaxReconnectAttempts-doesn-t-do-anything-tp3735372p4652974.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: failover startupMaxReconnectAttempts doesn't do anything

2011-11-03 Thread Ishitori
Great! Adding transport. prefix fixed the problem. Thanks! -- View this message in context: http://activemq.2283324.n4.nabble.com/failover-startupMaxReconnectAttempts-doesn-t-do-anything-tp3735372p3986136.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: failover startupMaxReconnectAttempts doesn't do anything

2011-11-03 Thread Timothy Bish
On Thu, 2011-11-03 at 07:15 -0700, Ishitori wrote: > I experience the same problem using NMS with ActiveMQ 5.5.0 > > I've tried syntaxis: > failover:(tcp://localhost:61616)?startupMaxReconnectAttempts=1&initialReconnectDelay=1 > Try adding transport. to the options, in NMS all options applied to

Re: failover startupMaxReconnectAttempts doesn't do anything

2011-11-03 Thread Ishitori
I experience the same problem using NMS with ActiveMQ 5.5.0 I've tried syntaxis: failover:(tcp://localhost:61616)?startupMaxReconnectAttempts=1&initialReconnectDelay=1 AND failover://(tcp://localhost:61616)?startupMaxReconnectAttempts=1&initialReconnectDelay=1 And it doesn't make any difference

Re: failover startupMaxReconnectAttempts doesn't do anything

2011-08-11 Thread Alistair Young
I decided to use a background thread instead and let it block on that instead. Using 5.2.0 but it won't let me set options when using failover. > use failover:(urls)failoveroptions tried to set startupMaxReconnectAttempts but it complains it's not a valid option --- Alistair You

Re: failover startupMaxReconnectAttempts doesn't do anything

2011-08-11 Thread Gary Tully
use failover:(urls)failoveroptions so: failover:(tcp://localhost:61617)?maxReconnectAttempts=1 What version you using? On 11 August 2011 10:42, Alistair Young wrote: > found this: > > http://comments.gmane.org/gmane.comp.java.activemq.user/30654 > > which suggested this: > > failover://(tcp:/

Re: failover startupMaxReconnectAttempts doesn't do anything

2011-08-11 Thread Alistair Young
found this: http://comments.gmane.org/gmane.comp.java.activemq.user/30654 which suggested this: failover://(tcp://localhost:61617)?startupMaxReconnectAttempts=1&initialReconnectDelay=10&maxReconnectAttempts=2&maxReconnectDelay=10 which causes this: javax.jms.JMSException: Could not create Tran

failover startupMaxReconnectAttempts doesn't do anything

2011-08-11 Thread Alistair Young
If I try to connect to a dead broker: failover:tcp://localhost:61617 it blocks forever on: ActiveMQConnectionFactory connectionFactory::setClientID if I force it to not block: failover:tcp://localhost:61617?startupMaxReconnectAttempts=1&initialReconnectDelay=10 it still blocks. Am I missing