activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ripienaar <>
Subject Re: Correct way to build a mesh of brokers
Date Mon, 26 Jul 2010 16:10:09 GMT

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 dev2 and 3 is similar
just the connections change.
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message