You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by dwout <gr...@gmail.com> on 2009/04/03 15:46:02 UTC
Can't connect using failover
Hello. I'm having issues when trying to connect using a failover on a URI
that has arguments. What happens is that the connection.start() method just
hangs forever without returning.
So...
tcp://localhost:61616?jms.dispatchAsync=false WORKS
failover://(tcp://localhost:61616) WORKS
failover://(tcp://localhost:61616?jms.dispatchAsync=false) DOES NOT WORK
In case you're wondering, it's not a problem with this particular parameter
(jms.dispatchAsync) because I've tried with others and get the same
behavior.
Any ideas? Thanks
--
View this message in context: http://www.nabble.com/Can%27t-connect-using-failover-tp22868719p22868719.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Can't connect using failover
Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,
try failover:(tcp://localhost:61616)?jms.dispatchAsync=false
Cheers
--
Dejan Bosanac
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Fri, Apr 3, 2009 at 3:46 PM, dwout <gr...@gmail.com> wrote:
>
> Hello. I'm having issues when trying to connect using a failover on a URI
> that has arguments. What happens is that the connection.start() method just
> hangs forever without returning.
>
> So...
>
> tcp://localhost:61616?jms.dispatchAsync=false WORKS
> failover://(tcp://localhost:61616) WORKS
> failover://(tcp://localhost:61616?jms.dispatchAsync=false) DOES NOT WORK
>
>
> In case you're wondering, it's not a problem with this particular parameter
> (jms.dispatchAsync) because I've tried with others and get the same
> behavior.
>
> Any ideas? Thanks
> --
> View this message in context:
> http://www.nabble.com/Can%27t-connect-using-failover-tp22868719p22868719.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
Re: Can't connect using failover
Posted by dwout <gr...@gmail.com>.
Great that works!
I actually tried that before but it was giving me an
IllegalArgumentException because I had // behind failover:
Anyway, thanks
--
View this message in context: http://www.nabble.com/Can%27t-connect-using-failover-tp22868719p22869838.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.