activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: timeout property of failover did not work ?
Date Sat, 09 Nov 2013 12:07:10 GMT
On 11/09/2013 12:03 AM, HellKnight wrote:
> I am using activemq 5.9.0 linux , nms 1.6.0 , developing by visual studio
> 2010 sp1 and win xp sp2 .
> I want to use failover transport , and send operation fails after 500ms
> while trying reconnecting.
> So I use a URI like this :failover:(tcp://192.168.193.177:61616)?timeout=500
>
> I write a very simple test , creating an autoack mode session and send a
> message syncly. But if I close the broker, the send method did not throw any
> exception after 500ms ,it blocks forever.
> Any idea how this could happen ? thanks in advance.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/timeout-property-of-failover-did-not-work-tp4674120.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Because you aren't using the correct URI options, see:
http://activemq.apache.org/nms/activemq-uri-configuration.html

failover:(tcp://192.168.193.177:61616)?transport.timeout=500


-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message