final String ctxPath = props.getProperty ("app-context", "/");
final String listen = props.getProperty ("jetty-socket-connector-port");
/*
* Setup connectors
*/
final AmqpConnector amqpConnector = new AmqpConnector (exchangeName, routingKey, queueName, hostName, userName, userPassword, amqpPort, amqpVirtualHost, amqpAutoDeclare);
final Connector[] connectors;
if ((listen != null) && !listen.isEmpty ()) {
final int port = Integer.parseInt (listen);
final SocketConnector socketConnector = new SocketConnector ();
socketConnector.setPort (port);