public void index(Request request, Response response) {
List<ConnectorUI> connections = HelperUI.buildConnectorUIs( routingEngine.getConnections() );
List<ConnectorUI> applications = HelperUI.buildConnectorUIs( routingEngine.getApplications() );
MessageCriteria criteria = new MessageCriteria()
.addStatus(Message.STATUS_FAILED)
.addStatus(Message.STATUS_RETRYING);
int failed = routingEngine.getMessageStore().list(criteria).size();
criteria = new MessageCriteria().addStatus(Message.STATUS_UNROUTABLE);
int unroutable = routingEngine.getMessageStore().list(criteria).size();
Map<String,Object> root = new HashMap<String,Object>();
root.put("connections", connections);
root.put("applications", applications);