for (int i = 0; i < connectorNodes.getLength(); i++)
{
Element connectorNode = (Element)connectorNodes.item(i);
TransportConfiguration connectorConfig = parseTransportConfiguration(connectorNode, config);
if (connectorConfig.getName() == null)
{
HornetQServerLogger.LOGGER.connectorWithNoName();
continue;
}
if (config.getConnectorConfigurations().containsKey(connectorConfig.getName()))
{
HornetQServerLogger.LOGGER.connectorAlreadyDeployed(connectorConfig.getName());
continue;
}
config.getConnectorConfigurations().put(connectorConfig.getName(), connectorConfig);
}
NodeList acceptorNodes = e.getElementsByTagName("acceptor");
for (int i = 0; i < acceptorNodes.getLength(); i++)
{
Element acceptorNode = (Element)acceptorNodes.item(i);
TransportConfiguration acceptorConfig = parseTransportConfiguration(acceptorNode, config);
config.getAcceptorConfigurations().add(acceptorConfig);
}
NodeList bgNodes = e.getElementsByTagName("broadcast-group");