}
protected RouteBuilder createRouteBuilder() throws Exception {
// Notice that we use the SpringRouteBuilder that has a few more features than
// the standard RouteBuilder
return new SpringRouteBuilder() {
public void configure() throws Exception {
// setup the transaction policy
SpringTransactionPolicy required = lookup("PROPAGATION_REQUIRED", SpringTransactionPolicy.class);
// use transaction error handler