I've had problems with the "sftp" component stopping to poll. Last week, for the first time, we encountered the same situation with the "file" component. It doesn't happen very often and I haven't been able to figure out what the cause is.
We're currently running Camel 2.10.3 on Karaf 2.3.0 but we've had the same situation (with sftp) with earlier versions of Camel as well as Karaf. I would like to monitor my routes to make sure they are still working. E g everytime a poll is made using sftp I would like to send a heartbeat to a monitoring server (Nagios). I can then track the situation where a route is "hung". How can I do this? It's easy to send a heartbeat everytime a file is acutally downloaded - I just put that processing later in the route. But, if I poll does not result in downloading a file, I never leave the file component for further processing in the route. /Bengt