activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod_mit <vinu...@gmail.com>
Subject Re: How to setup a "Network of Brokers" / ActiveMQ Broker cluster with 0-M4.2 ?
Date Mon, 21 May 2007 10:27:36 GMT

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.


Mime
View raw message