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.b...@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/

Reply via email to