Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
Why does my file consumer not pick up the file, and how do I let the file consumer use the Camel error handler?There could be several reasons why the File consumer is not picking up files. For example it may not run at all, or it cannot acquire a read lock on the file. How to use Camel's routing error handlers with the file consumerWell, this is really a "chicken or the egg" question. The Camel error handler (e.g., in the routes) only applies when a message is being routed by the routing engine. Bridge with error handler From Camel 2.10 onwards the file and ftp consumers can now bridge to the Camel routing engine's error handler. See more details at the If the component consumer extends the See the File page in the bottom for an example how to use a custom |