Loop detection is per-message.  As messages traverse the network of brokers,
an internal property on the message remembers which brokers were visited,
and each broker will refuse to send it to that broker again.

Note that topics with non-durable subscriptions in a network of brokers have
reliability issues that are not detectable by consumers.  If the connection
between two brokers is lost, any messages received by either broker on a
topic will fail to forward to the other broker after the connection is
re-established, unless there is at least one durable subscription to that
topic that forces the message to flow across the bridge after the reconnect.

Also be careful with larger numbers of brokers and the use of advisories,
with demand forwarding of messages.  It is very important to measure
performance here.  Use of static routing here can come to the rescue, if
flow can be limited to "one" direction across the network for each topic.



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Limitations-for-global-topics-in-a-ring-of-brokers-tp4707717p4707907.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to