You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by kumarchill <SK...@upcontractor.up.com> on 2008/10/02 19:02:07 UTC

Help in setting up "Network Of Brokers"

Hi,
I want to connect 3 brokers that are running on 3 different systems
connected to each other using Network Of Brokers(NOB). I did the following
changes in the config
1) Host1
--------
    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="Host1Broker" dataDirectory="${activemq.base}/data1">
.....
    <networkConnector name="LBJ-DEV-nc"
uri="static://(tcp://host2:61616,tcp://host3:61616)" dynamicOnly="true"
networkTTL="3" /> (added the other 2 hosts)
.....
    <transportConnector name="openwire" uri="tcp://host1:61616"/> (removed
discoveryUri="multicast://default" on this)


2) Host2
--------
    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="Host2Broker" dataDirectory="${activemq.base}/data1">
.....
    <networkConnector name="LBJ-DEV-nc"
uri="static://(tcp://host1:61616,tcp://host3:61616)" dynamicOnly="true"
networkTTL="3" /> (added the other 2 hosts)
.....
    <transportConnector name="openwire" uri="tcp://host2:61616"/> (removed
discoveryUri="multicast://default" on this)

3) Host2
--------
    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="Host2Broker" dataDirectory="${activemq.base}/data1">
.....
    <networkConnector name="LBJ-DEV-nc"
uri="static://(tcp://host1:61616,tcp://host2:61616)" dynamicOnly="true"
networkTTL="3" /> (added the other 2 hosts)
.....
    <transportConnector name="openwire" uri="tcp://host3:61616"/> (removed
discoveryUri="multicast://default" on this)

================
And Now, I sent some messages(assume only 10) to a topic to host1, and what
I see here is messages are recieved by all the hosts. untill now this OK. 
But The problem is that these messages are repeatedly getting on all the
three hosts. never ending. I saw messages flowing to all these hosts for
10-15 minutes. Don't know why..

Can anyone help me on this regard? Why the messages are repeated and what to
do for not to repeat the messages.

Thanks
Sudheer

-- 
View this message in context: http://www.nabble.com/Help-in-setting-up-%22Network-Of-Brokers%22-tp19783484p19783484.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.