Re: Validator component + onException

2012-09-21 Thread Babak Vahdat
der, camel throws this exception : > "Renaming file from: ... to: ... failed due cannot delete from file: ... > after copy succeeded" > > So I think that this ValidatorProcessor doesn't close the stream to the > file after an exception, and therefor it can't be de

Re: Validator component + onException

2012-09-13 Thread Claus Ibsen
do the job. :) > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756p5717767.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - FuseSource Email: cib...@fuseso

Re: Validator component + onException

2012-08-21 Thread livensn
As you said, I updated to the most recent version (2.10.0) through maven, but this didn't do the job. :) -- View this message in context: http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756p5717767.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Validator component + onException

2012-08-21 Thread Claus Ibsen
> Thank you Claus! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756p5717764.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - FuseSource Email: cib.

Re: Validator component + onException

2012-08-21 Thread livensn
Hi, I'm using Windows 7. The .converBodyTo(String.class) part worked :) Thank you Claus! -- View this message in context: http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756p5717764.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Validator component + onException

2012-08-21 Thread Claus Ibsen
rror folder, camel throws this exception : > "Renaming file from: ... to: ... failed due cannot delete from file: ... > after copy succeeded" > > So I think that this ValidatorProcessor doesn't close the stream to the file > after an exception, and therefor it can't

Validator component + onException

2012-08-21 Thread livensn
succeeded" So I think that this ValidatorProcessor doesn't close the stream to the file after an exception, and therefor it can't be deleted. Or I might of configured something wrong / misunderstood something. Any help would be appreciated :) Best regards, Nick -- View this me