protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
@Override
public void configure() throws Exception {
// simulate ftp/http using mocks
context.addComponent("ftp", new MockComponent());
context.addComponent("http", new MockComponent());
interceptSendToEndpoint("(ftp|http):.*")
.to("log:intercept")
.to("mock:intercept");