ARTEMIS-2797 Logging redeployment errors and speeding RedeployTest

This commit is contained in:
Clebert Suconic 2020-06-30 22:44:37 -04:00
parent 562bb965ae
commit 257d353896
5 changed files with 10 additions and 1 deletions

View File

@ -4003,7 +4003,11 @@ public class ActiveMQServerImpl implements ActiveMQServer {
} }
} }
for (final SimpleString divertName : divertsToRemove) { for (final SimpleString divertName : divertsToRemove) {
try {
destroyDivert(divertName); destroyDivert(divertName);
} catch (Throwable e) {
logger.warn("Divert " + divertName + " could not be removed", e);
}
} }
ActiveMQServerLogger.LOGGER.reloadingConfiguration("addresses"); ActiveMQServerLogger.LOGGER.reloadingConfiguration("addresses");

View File

@ -25,6 +25,7 @@ under the License.
<core xmlns="urn:activemq:core"> <core xmlns="urn:activemq:core">
<security-enabled>false</security-enabled> <security-enabled>false</security-enabled>
<persistence-enabled>false</persistence-enabled> <persistence-enabled>false</persistence-enabled>
<configuration-file-refresh-period>100</configuration-file-refresh-period>
<acceptors> <acceptors>
<acceptor name="artemis">tcp://0.0.0.0:61616</acceptor> <acceptor name="artemis">tcp://0.0.0.0:61616</acceptor>

View File

@ -25,6 +25,8 @@ under the License.
<core xmlns="urn:activemq:core"> <core xmlns="urn:activemq:core">
<security-enabled>false</security-enabled> <security-enabled>false</security-enabled>
<persistence-enabled>false</persistence-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> <acceptors>
<acceptor name="artemis">tcp://0.0.0.0:61616</acceptor> <acceptor name="artemis">tcp://0.0.0.0:61616</acceptor>

View File

@ -25,6 +25,7 @@ under the License.
<core xmlns="urn:activemq:core"> <core xmlns="urn:activemq:core">
<security-enabled>false</security-enabled> <security-enabled>false</security-enabled>
<persistence-enabled>false</persistence-enabled> <persistence-enabled>false</persistence-enabled>
<configuration-file-refresh-period>100</configuration-file-refresh-period>
<acceptors> <acceptors>
<acceptor name="artemis">tcp://0.0.0.0:61616</acceptor> <acceptor name="artemis">tcp://0.0.0.0:61616</acceptor>

View File

@ -25,6 +25,7 @@ under the License.
<core xmlns="urn:activemq:core"> <core xmlns="urn:activemq:core">
<security-enabled>false</security-enabled> <security-enabled>false</security-enabled>
<persistence-enabled>false</persistence-enabled> <persistence-enabled>false</persistence-enabled>
<configuration-file-refresh-period>100</configuration-file-refresh-period>
<acceptors> <acceptors>
<acceptor name="artemis">tcp://0.0.0.0:61616</acceptor> <acceptor name="artemis">tcp://0.0.0.0:61616</acceptor>