I'm having trouble networking two brokers together.  What I want to do is
make the two brokers function as virtually one.  One broker is at one site,
another at a different location.  Thus, I need a bi-directional connection. 
That is, if I publish to a topic on brokerA I want subscribers to get the
messages on both brokerA and brokerB, and vice versa.

My configuration works, but I keep getting the following kind of error in my
logs:


WARN | Duplicate message add attempt rejected. Message id:
ID:brokerA-59948-1269961367915-0:19:1:1:181


I've configured each activemq-5.3 server with the following network
connections:

brokerA:

       <!-- The store and forward broker networks ActiveMQ will listen to
-->
        <networkConnectors>
            <networkConnector name="brokerB"
uri="static://(tcp://brokerB:61616)" duplex="false"/>
        </networkConnectors>

brokerB:

     <!-- The store and forward broker networks ActiveMQ will listen to -->
        <networkConnectors>
            <networkConnector name="brokerA"
uri="static://(tcp://brokerA:61616)" duplex="false"/>
        </networkConnectors>

So, this somehow results in a message loop.  What I am trying to do is
pretty simple, so I must have a totally incorrect understanding of how you
create a network of brokers.

Thanks for any help!
-- 
View this message in context: 
http://old.nabble.com/Duplicate-message-add-attempt-rejected-tp28084188p28084188.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to