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 <[EMAIL PROTECTED]> 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

Reply via email to