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
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.
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!
>
>
>
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.
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
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.
>
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.
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.
>
--
) 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.
t;&moveFailed={{w.error}}/${date:now:-MM-dd}/${file:onlyname}"
> + "&maxMessagesPerPoll={{w.inbox.maxMsgPerPoll}}" //10
> )
> .log( LoggingLevel.INFO, "imp_protocol", "Importiere Daten :
> ${file:onlyname}" )
>
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.
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
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.
>
--
e-renaming-problems-under-Windows-tp5719484p5719517.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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.
>
--
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.
16 matches
Mail list logo