FWIW, I am using 5.1 and my createTopicConnection doesn't hang; it hurls a ConnectException if the target broker is not running.
What version of AMQ are you using? Are you by any chance using failover transports? Joe www.ttmsolutions.com nabbleuser2008 wrote: > > I would have told this is a problem others would have run into also. Or, > am I doing something wrong ? > > In my system, createTopicConnection() call hangs when the broker is not > reachable, for example, when it is down. > > Appreciate any help. > Thank you. > > > > -- View this message in context: http://www.nabble.com/Specifying-a-timeout-value-for-createTopicConnection%28%29-method-tp18368943p18413111.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.