https://issues.apache.org/jira/browse/AMQ-4369 - ensure default handler in place before transport connectors are started

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1455944 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2013-03-13 14:02:38 +00:00
parent 4c5197711a
commit 27c424ca19
1 changed files with 2 additions and 2 deletions

View File

@ -648,12 +648,12 @@ public class BrokerService implements Service {
adminView.setBroker(managedBroker);
}
startAllConnectors();
if (ioExceptionHandler == null) {
setIoExceptionHandler(new DefaultIOExceptionHandler());
}
startAllConnectors();
if (LOG.isInfoEnabled()) {
LOG.info("Apache ActiveMQ " + getBrokerVersion() + " ("
+ getBrokerName() + ", " + brokerId + ") started");