mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3918 - revert accidental change - start connector only after we create a mbean for it
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1363700 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6bec2aabb5
commit
d301b41638
|
@ -2386,11 +2386,11 @@ public class BrokerService implements Service {
|
|||
if (policy != null) {
|
||||
connector.setMessageAuthorizationPolicy(policy);
|
||||
}
|
||||
connector.getStatistics().setEnabled(enableStatistics);
|
||||
connector.start();
|
||||
if (isUseJmx()) {
|
||||
connector = registerConnectorMBean(connector);
|
||||
}
|
||||
connector.getStatistics().setEnabled(enableStatistics);
|
||||
connector.start();
|
||||
return connector;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue