[resolved] cFile with multiple file which have same name
Hi Everyone, I have a route which use a cFile to load some xml files. When i put a file in the directory, it works good. But if I put this file again cFile can't load it. Could you tell me why ? Thanks.
Re: [resolved] cFile with multiple file which have same name
Hi Sylvain, In the cFile component configuration, try unchecking the 'noop' option. You'll probably also want to move or delete the file after it has been processed so it can detect when the next file has been added. To delete, go to 'Advanced Settings' in the 'Component' tab and add the "delete" property with a value of "true". The cFile component is very flexible. Here is some great documentation on it: http://camel.apache.org/file2.html Best Regards, Ben