Thanks for the info on your test results.  That's an important note
about the failover uri syntax.  I will use that info as I look into a
separate  report that the failover uri parsing is failing on Mono.

On 1/31/09, wangchao <wangchao8...@msn.com> wrote:
>
> Thank you for your suggestion,semog.
>     I tested the code again and found it's a wrong url.When I added the
> brackets arround the broker uri
> list(activemq:failover:(tcp://localhost:61616)),it ran correctly as
> described in the official document.
>     If there's no broker running,the client application will blok;and when
> the broker start up,the client application will continue.
>    The conclusion is that the broker uri list in failover transport must be
> bracketed even when there is only one uri.
> --
> View this message in context:
> http://www.nabble.com/-Apache.NMS.ActiveMQ-using-FailoverTransport-tp21303879p21770271.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Reply via email to