File renaming problems under Windows

2014-12-10 Thread Adriano Ferranti
Hello guys, I'm getting the same problem related in https://issues.apache.org/jira/browse/CAMEL-6756. I mean, when the route raises any exception, the file is not moved or deleted at the end of the process. I believe that occurred a misunderstanding about the correction of issue related above

Re: File renaming problems under Windows

2013-09-16 Thread bocamel
Done... JIRA Camel-6756 was opened. -- View this message in context: http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5739555.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File renaming problems under Windows

2013-09-16 Thread Claus Ibsen
ic ExternalDoc processRowExcelDoc(@Body InputStream body, > @Header("CamelFileNameOnly") String fn) > and > public ExternalDoc processColExcelDoc(@Body InputStream body, > @Header("CamelFileNameOnly") String fn) > > Thanks for any help you may provide! > > >

Re: File renaming problems under Windows

2013-09-12 Thread bocamel
ntext: http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5739283.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File renaming problems under Windows

2013-09-10 Thread bocamel
move JDK ahead of my Maven dependencies in the buildpath. The only thing changed in the Maven dependencies is Camel ungraded from 2.11.1 to 2.12.0. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5739065.html Sent fro

Re: File renaming problems under Windows

2013-09-10 Thread Christian Müller
l.FileUtil.renameFile(FileUtil.java:397) > at > > org.apache.camel.component.file.FileOperations.renameFile(FileOperations.java:70) > ... 29 more > > I can avoid this problem by first converting the body to String in route1 > before sending it to SEDA. But if this is something can be fixed once for > all in Camel/CXF, it will make Camel more robust. > > Thanks! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5738801.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: File renaming problems under Windows

2013-09-05 Thread bocamel
make Camel more robust. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5738801.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File renaming problems under Windows

2012-09-24 Thread Christian Müller
ng Smooks in a route ? > Do I need a special errorhandler or .try()/.catch() command in my route ? > > Thanks in advance. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5719862.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --

Re: File renaming problems under Windows

2012-09-24 Thread OrackBahama
) command in my route ? Thanks in advance. -- View this message in context: http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5719862.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File renaming problems under Windows

2012-09-19 Thread Christian Müller
t;&moveFailed={{w.error}}/${date:now:-MM-dd}/${file:onlyname}" > + "&maxMessagesPerPoll={{w.inbox.maxMsgPerPoll}}" //10 > ) > .log( LoggingLevel.INFO, "imp_protocol", "Importiere Daten : > ${file:onlyname}" ) >

Re: File renaming problems under Windows

2012-09-19 Thread OrackBahama
quot; ) .convertBodyTo( StreamSource.class ) .to( "smooks://smooks-config.xml" ) ; -- View this message in context: http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5719581.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File renaming problems under Windows

2012-09-18 Thread projectnash1994
ort Java 7: http://camel.apache.org/camel-2100-release.html 3.) Is this bug fixed in Java 7 ? I don't know. I think you should ask this question on an Oracle mailing list. -- View this message in context: http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p57

Re: File renaming problems under Windows

2012-09-18 Thread Christian Müller
I don't know. I think you should ask this question on an Oracle mailing list. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5719517.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --

Re: File renaming problems under Windows

2012-09-18 Thread OrackBahama
e-renaming-problems-under-Windows-tp5719484p5719517.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File renaming problems under Windows

2012-09-17 Thread Christian Müller
eadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.io.IOException: Renaming file from: C:\in\00800530.txt to: > C:\error\2012-09-15\00800530.txt failed due cannot delete from file: > C:\in\00800530.txt after copy succeeded > at org.apache.camel.util.FileUtil.renameFile(FileUtil.java:379) > at > > org.apache.camel.component.file.FileOperations.renameFile(FileOperations.java:66) > ... 31 more > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --

File renaming problems under Windows

2012-09-17 Thread OrackBahama
il.FileUtil.renameFile(FileUtil.java:379) at org.apache.camel.component.file.FileOperations.renameFile(FileOperations.java:66) ... 31 more -- View this message in context: http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484.html Sent from the Camel - Users mailing list archive at Nabble.com.