}
protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() throws Exception {
MyBatisComponent myBatis = context.getComponent("mybatis", MyBatisComponent.class);
myBatis.setConfigurationUri("org/apache/camel/itest/osgi/mybatis/SqlMapConfig.xml");
// create table before we start using mybatis
createTable();
from("mybatis:selectAllAccounts").to("mock:result");