protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
PrintWriter out = resp.getWriter();
StringBuffer status = new StringBuffer(); // this is what we will return
RoutingEngine routingEngine = (RoutingEngine) applicationContext.getBean("routingEngine");
for (ConnectorService application : routingEngine.getApplications()) {
status.append(application.getId())
.append("_")
.append(application.getStatus())
.append("_")
.append(application.getState())
.append(" ");
}
for (ConnectorService connection : routingEngine.getConnections()) {
status.append(connection.getId())
.append("_")
.append(connection.getStatus())
.append("_")
.append(connection.getState())