have a look at 
org.apache.activemq.JmsMultipleBrokersTestSupport#waitForBridgeFormation
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsMultipleBrokersTestSupport.java?view=markup

On 14 June 2011 19:12, jai.mathaiyan <jaiganes...@gmail.com> wrote:
> I have a requirement to determine if a broker is connected to another broker
> in the network. I am not able to figure this out with the existing api's.
> Any help is appreciated. Here is little more detail -
>
> I have Broker A and Broker B. Broker A has to create a (static://(tcp://...)
> network connection to Broker B. However it needs to first validate if Broker
> B is not already connected to any another Broker. Broker B has only one tcp
> transport connector.
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/How-to-determine-network-of-Brokers-tp3597322p3597322.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
http://fusesource.com
http://blog.garytully.com

Reply via email to