On 07/30/2013 11:59 PM, yq8925 wrote:
In NMS.ActiveMQ1.5.6 and 1.6.0, if target JMS server URL is invalid or no
responsible, the client program will be hung at code "ISession session =
connection.CreateSession(AcknowledgementMode.AutoAcknowledge)".

The "connection.RequestTimeout" does not work here...

Anyone could help on it?



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-NMS-connection-will-be-hung-with-an-invalid-URL-tp4669903.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Sounds like you are using the failover transport. I'd guess you need to set the timeout option on the failover transport in order to have the send attempt bail if it can't connect after some time.

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