This commit is contained in:
Clebert Suconic 2018-01-10 11:43:06 -05:00
commit e5251ce60b
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);
}