You've misunderstood the duplex setting. Setting the 1-2 link as simplex from the 1 side means that messages can go from 1 to 2 but not from 2 to 1 (unless you define a reciprocal connection in the 2 broker, but we're not considering that case here). It has nothing to do with applying a condition (consumer is present) to whether messages should be forwarded from 1 to 2, and therefore nothing is being overridden.
But Jakub is exactly right about the correct way to get the behavior you want. Tim On Jun 29, 2017 1:24 AM, "jochenw" <[email protected]> wrote: > Hi Jakub, > > thanks for the explanation! I was not aware that this even overrides the > duplex="false" setting. But thinking about it again, it makes sense, since > the duplex setting is relevant for the sync direction of consumers, not for > the push direction / filtering of messages. > > So no other way than using dynamic bridges, at least for the one-way > network > connectors. > > Regards, > Jochen > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/Network-of-brokers-problem-with-duplex-false-for- > static-bridges-tp4727986p4728049.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >
