You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Vinod_mit <vi...@gmail.com> on 2007/05/21 12:27:36 UTC

Re: How to setup a "Network of Brokers" / ActiveMQ Broker cluster with 0-M4.2 ?

Hi i read this article, Iam new to activemq. Iam trying to create two network
brokers.

I did like this but i have some doubts, let me explain my way.

1. i have created an activemq.xml with these details .

     <transportConnectors> 
       <transportConnector uri="tcp://localhost:61617"/> 
     </transportConnectors> 

     <networkConnectors> 
       <networkConnector uri="static:failover:tcp://localhost:61618"/> 
     </networkConnectors> 

and i have started my activemq it works fine.

2. I have modified my activemq.xml with these details

     <transportConnectors> 
       <transportConnector uri="tcp://localhost:61618"/> 
     </transportConnectors> 

     <networkConnectors> 
       <networkConnector uri="static:failover:tcp://localhost:61617"/> 
     </networkConnectors> 

and i have started these in another command window, i got these messages 

INFO  faultPersistenceAdapterFactory - Journal is locked... waiting 10
seconds f
or the journal to be unlocked.

when i kill the first activemq second starts,

but my question is where i have to include these details

    <networkConnectors> 
      <networkConnector 
uri="static:failover:tcp://localhost:61617"/<tcp://localhost:61617%22/> 
> 
    </networkConnectors> 

please explain


Thanks



Christopher Kingsbury wrote:
> 
> Thanks Hiram,
> 
>     <networkConnectors>
>       <networkConnector
> uri="static:failover:tcp://localhost:61617"/<tcp://localhost:61617%22/>
>>
>     </networkConnectors>
> 
> Works like a charm.
> 
> Chris
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-setup-a-%22Network-of-Brokers%22---ActiveMQ-Broker-cluster-with-0-M4.2---tf660524s2354.html#a10716258
Sent from the ActiveMQ - User mailing list archive at Nabble.com.