networkConnector.addNetworkChannel(peerURL);
}
}
container.addNetworkConnector(networkConnector);
URIHelper helper = new URIHelper(brokerConnectorURI);
brokerConnector = new BrokerConnectorImpl(container, helper.getNext(), wireFormat);
while (helper.hasNext()) {
new BrokerConnectorImpl(container, helper.getNext(), wireFormat);
}
container.start();
}
return brokerConnector;
}