FederatedQueue by default is supposed to set a metadataFilter to will exclude reacting to federated consumers so a loop isn't created. Unfortunately the filter does not work because there is a hyphen in the key name so it gets ignored. The name of the key used is federation-name . The key property needs to be prefixed with "hyphenated_props:" in the expression for the filter to work. Currently an infinite loop and consumers will be rapidly created until crashing the broker unless the filter is fixed (if using by directional federated queues). The other option is to change key name but this works too.
The following documentation describes hyphens in filter expressions: https://activemq.apache.org/components/artemis/documentation/latest/filter-expressions.html
From the docs: