Re: Alternatives to Thread.sleep

2013-04-30 Thread Claus Ibsen
Hi 1) There is an inflight repository you can use to see if there is any messages currently in progress. http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/InflightRepository.html You can get access to it from the CamelContext 2) Also if the consumer is batch consumer

Alternatives to Thread.sleep

2013-04-30 Thread Josiah Mangiameli
Hey all, I am looking for a way in Camel to start a context on a given route (which could be email, sftp, ftp or files) and not stop until all files/messages that meet the route criteria have been processed. I have not been able to find any built in functionality that would do this. The "sendE