Hi, you can set the timeout on the failover url that will make your send() call to fail if the connection isn't established after a certain period of time. See http://activemq.apache.org/failover-transport-reference.html#FailoverTransportReference-Notes for more info.
Cheers -- Dejan Bosanac ----------------- FuseSource - The experts in open source integration and messaging. Email: dej...@fusesource.com Web: http://fusesource.com Twitter: http://twitter.com/dejanb ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Dec 14, 2010 at 5:01 PM, logosdev <logos...@yahoo.com> wrote: > > It seems like there may be a JIRA open on this (my concern about the broker > hanging on startup if it cannot connect). > > https://issues.apache.org/jira/browse/AMQ-2114 > > I'd still like to know how other people handle this situation, even if it > requires a heroic coding intervention. > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/broker-config-if-destination-may-be-down-tp3086163p3087367.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >