if (ports.contains(port)) {
throw new ConfigurationException("A socket for port '" + port + "' has already been configured.");
}
ports.add(port);
EsperSocketService socketService = new EsperSocketService(entry.getKey(), entry.getValue());
sockets.put(entry.getKey(), socketService);
}
// Start sockets
for (Map.Entry<String, EsperSocketService> entry : sockets.entrySet()) {