I'm guessing it blocks because its trying to reconnect to the broker,
and pending the send.

Either don't use failover, or use an embedded broker and make your
network connection failover.

Dingwen Yuan wrote:
> Hi all,
>
> I have used a failover url to configure my JMS client, such as this 
> "failover:(tcp://127.0.0.1:61616)?jms.useAsyncSend=true". But when the JMS 
> broker is down and the client is trying to connect to the broker, all send to 
> topics or queues just get blocked. Why should I do if I want only to get an 
> exception instead of a blocking.
>
> Thank you in advance!
>
>
>
>
> Dingwen Yuan
> 2007-05-09
>
>
> !DSPAM:507,46412674176131885597236!
>
>   

Reply via email to