[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.
When i put a file in the directory, it works good. But if I put this file again cFile can't load it.
Is there any error after you put this file again in cFile? What's the talend ESB product build version are you using? Is it OK with you when you restart studio?
Best regards
Sabrina
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