String proxyFilePath = ServerSettings.getSetting("proxy.file.path");
String connectionName=ServerSettings.getSetting("connection.name");
LinkedBlockingQueue<MonitorID> pushQueue = new LinkedBlockingQueue<MonitorID>();
LinkedBlockingQueue<MonitorID> finishQueue = new LinkedBlockingQueue<MonitorID>();
List<String> hosts= Arrays.asList(hostList.split(","));
amqpMonitor=new AMQPMonitor(GFacImpl.getMonitorPublisher(),pushQueue,finishQueue,proxyFilePath,connectionName,hosts);
}catch (ApplicationSettingsException e){
e.printStackTrace();
}
}