camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swwyatt <>
Subject File component move option
Date Wed, 16 Feb 2011 21:57:59 GMT

I have configured a route with a file consumer like the one below:


On the disk I have a file:


I expected the file to be moved to:


I got the exception:

15:33:37 ERROR [pdvwimport] GenericFileOnCompletion   - Caused by:
[org.apache.camel.component.file.GenericFileOperationFailedException -
Cannot create directory: c:\temp\import\save\c:\temp\import\a\01 (could be
because of denied permissions)]

Is this the correct behavior? From the File component/File language
documentation, using 'file:name' should refer to a file named 'a\01\1.xml'
in either relative or absolute cases, but results are otherwise.
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message