Hi Claus,
Yep, it works fine once the context is correctly configured ;-)
I added
context.getShutdownStrategy().setTimeout(60*10);
in the createRouteBuilder() method.
@Override
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
@Override
public void configure() throws Exception {
...
context.getShutdownStrategy().setTimeout(60*10);
}
}
}
I initially put it in my test method, but the context was already
initialized and the timeout setting was not taken into account ;-)
Again, thanks for your help
Xavier
--
View this message in context:
http://camel.465427.n5.nabble.com/ETL-how-to-monitor-the-end-of-processing-tp3374562p3375627.html
Sent from the Camel - Users mailing list archive at Nabble.com.