James.Strachan wrote:
> 
> On 5/8/06, kitplummer <[EMAIL PROTECTED]> wrote:
>>
>> Is there a good strategy for checking to see if the Broker is up, from
>> the
>> client side?  I need to keep trying to connect until a connection is
>> made...
> 
> How about letting ActiveMQ do that for you?
> 
> http://activemq.org/How+do+I+configure+automatic+reconnection
> 
> you can also register a transport listener to listen for the
> connection state if you really want to do stuff manually yourself
> 
> http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/ActiveMQConnection.html#addTransportListener(org.apache.activemq.transport.TransportListener)
> 

I tried the automatic reconnection thing...but, it didn't seem to work if
the Broker wasn't available for the initial connection.
--
View this message in context: 
http://www.nabble.com/is-Broker-up--t1580466.html#a4303116
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to