This closes #3209
This commit is contained in:
commit
3250e5b954
|
@ -720,15 +720,12 @@ public class PostOfficeImpl implements PostOffice, NotificationListener, Binding
|
|||
queue.setConfigurationManaged(queueConfiguration.isConfigurationManaged());
|
||||
changed = true;
|
||||
}
|
||||
/* Why is this?
|
||||
if (logger.isDebugEnabled()) {
|
||||
if (queueConfiguration.getUser() == null && queue.getUser() != null) {
|
||||
logger.debug("Ignoring updating Queue to a NULL user");
|
||||
}
|
||||
}
|
||||
*/
|
||||
// user
|
||||
if (!Objects.equals(queue.getUser(), queueConfiguration.getUser())) {
|
||||
if (queueConfiguration.getUser() != null && !queueConfiguration.getUser().equals(queue.getUser())) {
|
||||
changed = true;
|
||||
queue.setUser(queueConfiguration.getUser());
|
||||
}
|
||||
|
|
|
@ -4003,7 +4003,11 @@ public class ActiveMQServerImpl implements ActiveMQServer {
|
|||
}
|
||||
}
|
||||
for (final SimpleString divertName : divertsToRemove) {
|
||||
destroyDivert(divertName);
|
||||
try {
|
||||
destroyDivert(divertName);
|
||||
} catch (Throwable e) {
|
||||
logger.warn("Divert " + divertName + " could not be removed", e);
|
||||
}
|
||||
}
|
||||
|
||||
ActiveMQServerLogger.LOGGER.reloadingConfiguration("addresses");
|
||||
|
|
|
@ -25,6 +25,7 @@ under the License.
|
|||
<core xmlns="urn:activemq:core">
|
||||
<security-enabled>false</security-enabled>
|
||||
<persistence-enabled>false</persistence-enabled>
|
||||
<configuration-file-refresh-period>100</configuration-file-refresh-period>
|
||||
|
||||
<acceptors>
|
||||
<acceptor name="artemis">tcp://0.0.0.0:61616</acceptor>
|
||||
|
|
|
@ -25,6 +25,8 @@ under the License.
|
|||
<core xmlns="urn:activemq:core">
|
||||
<security-enabled>false</security-enabled>
|
||||
<persistence-enabled>false</persistence-enabled>
|
||||
<configuration-file-refresh-period>100</configuration-file-refresh-period>
|
||||
<configuration-file-refresh-period>100</configuration-file-refresh-period>
|
||||
|
||||
<acceptors>
|
||||
<acceptor name="artemis">tcp://0.0.0.0:61616</acceptor>
|
||||
|
|
|
@ -25,6 +25,7 @@ under the License.
|
|||
<core xmlns="urn:activemq:core">
|
||||
<security-enabled>false</security-enabled>
|
||||
<persistence-enabled>false</persistence-enabled>
|
||||
<configuration-file-refresh-period>100</configuration-file-refresh-period>
|
||||
|
||||
<acceptors>
|
||||
<acceptor name="artemis">tcp://0.0.0.0:61616</acceptor>
|
||||
|
|
|
@ -25,6 +25,7 @@ under the License.
|
|||
<core xmlns="urn:activemq:core">
|
||||
<security-enabled>false</security-enabled>
|
||||
<persistence-enabled>false</persistence-enabled>
|
||||
<configuration-file-refresh-period>100</configuration-file-refresh-period>
|
||||
|
||||
<acceptors>
|
||||
<acceptor name="artemis">tcp://0.0.0.0:61616</acceptor>
|
||||
|
|
Loading…
Reference in New Issue