ARTEMIS-1594 don't log dlq/expiry warn for internal q
This commit is contained in:
parent
9e68d84645
commit
7c3e78ca87
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue