ARTEMIS-1594 don't log dlq/expiry warn for internal q

This commit is contained in:
Justin Bertram 2018-01-09 11:29:33 -06:00 committed by Clebert Suconic
parent 9e68d84645
commit 7c3e78ca87
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}