List<RouteType> routes = main.getRouteDefinitions();
assertEquals("Number of routes", 1, routes.size());
// now lets send a message
ProducerTemplate template = main.getCamelTemplate();
template.sendBody("direct:a", expectedBody);
List<Exchange> o1Messages = o1.getExchanges();
assertEquals("Expected messages at o1", 1, o1Messages.size());
LOG.info("o1 received message: " + o1Messages.get(0));
}