overdueEndpoint = getMockEndpoint("mock:overdue");
overdueEndpoint.setResultWaitTime(8000);
}
protected RouteBuilder createRouteBuilder() throws Exception {
JpaTemplate jpaTemplate = getMandatoryBean(JpaTemplate.class, "jpaTemplate");
TransactionTemplate transactionTemplate = getMandatoryBean(TransactionTemplate.class, "transactionTemplate");
// START SNIPPET: example
return new ProcessBuilder(jpaTemplate, transactionTemplate) {
public void configure() throws Exception {