I have a couple of Apache Camel routes created using the Java DSL and Spring.
@Bean
public CamelContext camelContext() throws Exception {
CamelContext camelContext = new DefaultCamelContext();
camelContext.addRoutes(route1bean());
...
camelContext.start();
return camelContext;
}
These routes use quartz2 component for scheduling and everything works as expected.
The jobs can however have errors when running and there is a requirement to retry them manually. I'm looking for a way to make adhoc manual execution of the route using hawtio or in Java code.