mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378037 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
11d0df6657
commit
f8c268df6f
|
@ -158,6 +158,8 @@ public class BrokerService implements Service {
|
|||
connector.setDiscoveryUri(discoveryUri);
|
||||
}
|
||||
connector.setBroker(getBroker());
|
||||
connector.setBrokerName(getBrokerName());
|
||||
connector.setTaskRunnerFactory(getTaskRunnerFactory());
|
||||
transportConnectors.add(connector);
|
||||
if (isUseJmx()) {
|
||||
registerConnectorMBean(connector);
|
||||
|
@ -630,8 +632,6 @@ public class BrokerService implements Service {
|
|||
public void setTransportConnectors(List transportConnectors) throws Exception {
|
||||
for (Iterator iter = transportConnectors.iterator(); iter.hasNext();) {
|
||||
TransportConnector connector = (TransportConnector) iter.next();
|
||||
connector.setBroker(getBroker());
|
||||
connector.setBrokerName(getBrokerName());
|
||||
addConnector(connector);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue