final String connectionName = outboundConnectionService.getConnectionName();
logger.debug("Creating remoting EJB receiver for connection " + connectionName);
try {
final IoFuture<Connection> futureConnection = outboundConnectionService.connect();
// TODO: Make the timeout configurable
final Connection connection = IoFutureHelper.get(futureConnection, DEFAULT_CONNECTION_TIMEOUT, TimeUnit.MILLISECONDS);
// add it to the successful connection list to be returned
connections.add(connection);
} catch (IOException ioe) {
// just log a WARN and move on to the next