activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: ARTEMIS-1594 don't log dlq/expiry warn for internal q
Date Wed, 10 Jan 2018 16:43:14 GMT
ARTEMIS-1594 don't log dlq/expiry warn for internal q


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/7c3e78ca
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/7c3e78ca
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/7c3e78ca

Branch: refs/heads/master
Commit: 7c3e78ca877d1349d06016c38cf7bfe7014415e2
Parents: 9e68d84
Author: Justin Bertram <jbertram@apache.org>
Authored: Tue Jan 9 11:29:33 2018 -0600
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed Jan 10 11:43:06 2018 -0500

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/core/server/impl/QueueImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/7c3e78ca/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
index 41f504f..cb94aed 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
@@ -3258,7 +3258,7 @@ public class QueueImpl extends CriticalComponentImpl implements Queue
{
    }
 
    private void checkDeadLetterAddressAndExpiryAddress(final AddressSettings settings) {
-      if (!Env.isTestEnv()) {
+      if (!Env.isTestEnv() && !internalQueue && !address.equals(server.getConfiguration().getManagementNotificationAddress()))
{
          if (settings.getDeadLetterAddress() == null) {
             ActiveMQServerLogger.LOGGER.AddressSettingsNoDLA(name);
          }


Mime
View raw message