We have an application that uses http://camel.apache.org/file2.html to scan for files as input to a route. Nothing special about it and until last week was working just fine.
Then we noticed the route was handling nothing from the file component. When we checked there was in excess of 500,000 files pending. Nothing was showing in our logs. We reconfigured the endpoint URI to have a maxMessagesPerPoll of 1,000 from the default. The route sprang to life. Our conclusion was to suggest here that perhaps a sensible default should be applied to this in future versions rather than 0 (infinite). Quite what this might be is arguable of course, but 0 is quite capable of shutting down an application in our experience. Thanks, James
