[ 
https://issues.apache.org/jira/browse/ARTEMIS-4658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17821757#comment-17821757
 ] 

ASF subversion and git services commented on ARTEMIS-4658:
----------------------------------------------------------

Commit fd5d9b9ad03e15d8b90b4861358ab55c67207525 in activemq-artemis's branch 
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=fd5d9b9ad0 ]

ARTEMIS-4658 Prevent reflections when using dual address federation

When federation is configured in two directions between nodes for an address
the message can reflect from one node to another if max hops is not set or not
set correctly and in some federation topologies the max hops value can't solve
the issue and still result in a working configuration. This reflection should
be prevented at the federation consumer level for address consumers.


> AMQP Federation should prevent reflection of multicast messages between nodes
> -----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4658
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4658
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: AMQP
>    Affects Versions: 2.32.0
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Major
>             Fix For: 2.33.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When using a topology where brokers are dual federating messages for 
> addresses the federation producers and consumers should prevent reflection 
> between the two nodes.  This allows for more complex configuration where the 
> max hops value is insufficient to prevent duplicates and cases of infinite 
> reflection if the user forgets to configure max hops. 
> Such a case would be a hub and spoke type setup where the producers and 
> consumers are on each of the spokes and the hub is the way point, here the 
> max hops needs to be set to '2' but this allows for a reflection from the hub 
> back to the sending spoke. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to