// lets make a simple route
Main main = new Main();
main.addRouteBuilder(new RouteBuilder() {
@Override
public void configure() throws Exception {
from("file://src/test/data?noop=true").process(new MyProcessor()).to("mock:results");
}
});
main.start();
List<CamelContext> contextList = main.getCamelContexts();