Re: File component does not delete file

2014-07-04 Thread Claus Ibsen
Hi Found the bug and logged a ticket https://issues.apache.org/jira/browse/CAMEL-7577 On Wed, Jul 2, 2014 at 3:11 PM, Claus Ibsen wrote: > Hi > > Yeah sounds like a bug in zip splitter as it should close the stream > if there was an exception etc. > > On Wed, Jul 2, 2014 at 3:02 PM, Gardella jua

Re: File component does not delete file

2014-07-02 Thread Claus Ibsen
Hi Yeah sounds like a bug in zip splitter as it should close the stream if there was an exception etc. On Wed, Jul 2, 2014 at 3:02 PM, Gardella juan wrote: > Thanks Claus, I found the problem and let me know if you agree on create > JIRA. I am processing a zip file with zip splitter. I am develo

Re: File component does not delete file

2014-07-02 Thread Gardella juan
Thanks Claus, I found the problem and let me know if you agree on create JIRA. I am processing a zip file with zip splitter. I am developing on windows machine and if some exception is not handled during the split the file could not be moved/deleted. It seems the splitter keeps the file open. The o

Re: File component does not delete file

2014-07-01 Thread Gardella juan
Yes, I discover that, but is it possible to update the document? this is not explicit mentioned. -- View this message in context: http://camel.465427.n5.nabble.com/File-component-does-not-delete-file-tp5753140p5753165.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File component does not delete file

2014-07-01 Thread Claus Ibsen
delete=true only deletes the file if the exchange was processed succesfully. If some exception is thrown it will rollback, and leave the file untouched. Or if you use moveFailed the file is moved to another directory. If you want to delete the file also if an exception happen then use the Camel er

Re: File component does not delete file

2014-07-01 Thread Gardella juan
Using moveFailed does not solve the problem, "delete" does not delete the file when some exception happens during the execution, why? -- View this message in context: http://camel.465427.n5.nabble.com/File-component-does-not-delete-file-tp5753140p5753142.html Sent from the Camel - Users mailing