Skip to content
Permalink
Browse files
ARTEMIS-3811 Cluster connections clashing with ANYCast addresses
This is a test fix for AMQPClusterReplicaTest
  • Loading branch information
clebertsuconic committed May 3, 2022
1 parent dbde8c5 commit ee51a7806da5f258dbb1ed56271c56d3e992383b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -354,7 +354,7 @@ private void validateRoutingTypes(SimpleString addressName, EnumSet<RoutingType>
final Bindings bindings = this.mappings.get(addressName);
if (bindings != null) {
for (Binding binding : bindings.getBindings()) {
if (binding instanceof QueueBinding) {
if (binding instanceof QueueBinding && binding.isLocal()) {
final QueueBinding queueBinding = (QueueBinding) binding;
final RoutingType routingType = queueBinding.getQueue().getRoutingType();
if (!routingTypes.contains(routingType) && binding.getAddress().equals(addressName)) {

0 comments on commit ee51a78

Please sign in to comment.