OK, I've submitted this problem as issue AMQ-2597.
Gary Tully wrote: > > You may wish to raise an enhancement request for this. There is currently > no > way to block till some broker is discovered. > I imagine the best that could be easily achieved is to have start() block > till a broker is discovered, with some variable determining the length of > the block before an exception is thrown. > > > At the moment, there is no high level way get notified when a broker is > discovered > -- View this message in context: http://old.nabble.com/Broker-discovery-when-no-brokers-exist-still-returns-a-connection-factory-which-cannot-be-used.-tp27473153p27503932.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
