activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Discovery Fail if no Broker
Date Wed, 21 Jun 2006 20:37:46 GMT
Hi Bo,

Please refer to http://activemq.com/site/discovery-transport-reference.html

I think if you use something like:
discovery:(multicast://default)?maxReconnectAttempts=5

Then after 5 connect attempt failures, the connection attempt should fail.


On 6/21/06, wconroy <wconroy@gmail.com> wrote:
>
> I would like to use discovery to try to find a broker, but if no broker is up
> have it return immediately or throw an exception.  How do I enable that?  I
> am currently using "discovery:multicast://default" on my client.
>
> Thanks,
>
> Bo
>
>
> --
> View this message in context: http://www.nabble.com/Discovery-Fail-if-no-Broker-t1824894.html#a4977620
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Mime
View raw message