You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2023/03/08 02:17:16 UTC
[activemq-artemis] branch main updated: NO-JIRA Adding more information on exception to track failing tests
This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 3032bb9b0f NO-JIRA Adding more information on exception to track failing tests
3032bb9b0f is described below
commit 3032bb9b0fa9021dd94c69ac237e03d48ff08a5e
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Tue Mar 7 21:17:06 2023 -0500
NO-JIRA Adding more information on exception to track failing tests
---
.../activemq/artemis/protocol/amqp/connect/AMQPBrokerConnection.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/AMQPBrokerConnection.java b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/AMQPBrokerConnection.java
index 153f81f11c..20771f26ca 100644
--- a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/AMQPBrokerConnection.java
+++ b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/AMQPBrokerConnection.java
@@ -385,7 +385,7 @@ public class AMQPBrokerConnection implements ClientConnectionLifeCycleListener,
}
if (addressInfo.getRoutingType() != RoutingType.ANYCAST) {
- throw new IllegalArgumentException("sourceMirrorAddress is not ANYCAST");
+ throw new IllegalArgumentException(addressInfo.getName() + " has " + addressInfo.getRoutingType() + " instead of ANYCAST");
}
Queue mirrorControlQueue = server.locateQueue(getMirrorSNF(replicaConfig));