sorry, yes, having only half of them duplex will do it. I neglected to ask what version you have, in any event, the issue referenced in the last message (AMQ-2704) was recently resolved so you need to try a 5.4-SNAPSHOT to get the benefit.
On 26 July 2010 17:10, ripienaar <r...@devco.net> wrote: > > > > Gary Tully wrote: >> >> you need to turn duplex off or only create the bridges from one >> broker. With your config, where every broker is connected to every >> other broker, duplex=true causes every broker to be connected twice to >> every other broker! >> >> duplex is handy in a hub-spoke topology where the spoke initiates the >> forwarding bridge in duplex mode, negating the need for the hub to be >> ware of the spoke. >> > > I have tried both, but will try again. > > If you look closely though I do not connect duplexes from every node in the > config on the pastie. > > dev1 duplex -> dev2 > dev1 duplex -> dev3 > > dev2 duplex -> dev3 > > those are the only duplex connections, I believe that is identical to making > a full mesh with non duplex connections, as duplex will just have it setup > the back bridge for you? There would be no multiple connections. > > On reconfiguring it as you describe: > > dev1 -> dev2 > dev1 -> dev3 > dev2 -> dev1 > dev2 -> dev3 > dev3 -> dev1 > dev3 -> dev2 > > All non duplex, same behavior. > > Current config on dev1 http://www.pastie.org/1060682 dev2 and 3 is similar > just the connections change. > -- > View this message in context: > http://old.nabble.com/Correct-way-to-build-a-mesh-of-brokers-tp29255162p29268175.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com