Component file: move and moveFailed

2012-05-04 Thread Hilde
find the camel route I am talking about: java.lang.IllegalArgumentException javax.validation.ValidationException Import ... Many thanks in advanced! Best regards Hilde -- View this message in context: http://camel.465427.n5.nabbl

Re: Component file: move and moveFailed

2012-05-04 Thread Hilde
I have forgotten to notice that the file component acts as expected as soon as I remove the exception policy (onException). However we need that for writing an protocol. -- View this message in context: http://camel.465427.n5.nabble.com/Component-file-move-and-moveFailed-tp5685631p5685713.html

Re: Component file: move and moveFailed

2012-05-04 Thread Claus Ibsen
Exception don't handle the exception, which is then propagated back to the file consumer. But there is a glitch in the logic that checks for if the exchange failed. Let me log a JIRA, and get that fixed. > -- > View this message in context: > http://camel.465427.n5.nabble.com/Compo

Re: Component file: move and moveFailed

2012-05-04 Thread Claus Ibsen
gt; remove the exception policy (onException). However we need that for writing > an protocol. > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Component-file-move-and-moveFailed-tp5685631p5685713.html > Sent from the Camel - Users mailing list archive a

Re: Component file: move and moveFailed

2012-05-07 Thread Hilde
-move-and-moveFailed-tp5685631p5690355.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Component file: move and moveFailed

2012-05-09 Thread Hilde
Hello Claus! Can you tell me definitely whether my camel configuration causes the issue or it's inside the Apache Camel 2.9.0 version? Best regards Hilde -- View this message in context: http://camel.465427.n5.nabble.com/Component-file-move-and-moveFailed-tp5685631p5696843.html Sent fro

Re: Component file: move and moveFailed

2012-05-09 Thread Claus Ibsen
ensure to close file streams, as windows locks those file handlers for a very long time. > Best regards > Hilde > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Component-file-move-and-moveFailed-tp5685631p5696843.html > Sent from the Camel -

Re: Component file: move and moveFailed

2012-05-09 Thread Hilde
The files being processed with camel afterwards are not moved to that directory programmatically but also droped in the directory manually. As a result there can no open file stream remain. -- View this message in context: http://camel.465427.n5.nabble.com/Component-file-move-and-moveFailed

Re: Component file: move and moveFailed

2012-05-09 Thread Claus Ibsen
have at http://camel.apache.org/file2 eg the idea is to avoid reading files while other parties is currently writing them. And that depends on what file system you use etc, what you can do. > -- > View this message in context: > http://camel.465427.n5.nabble.com/Component-fil

Re: Component file: move and moveFailed

2012-05-09 Thread Hilde
Generally an issue regarding locking I can exclude because the file is always moved to the .done directory instead of .error. -- View this message in context: http://camel.465427.n5.nabble.com/Component-file-move-and-moveFailed-tp5685631p5697111.html Sent from the Camel - Users mailing list