I have configured a route with a file consumer like the one below: my.properties: MY_PATH=c\:\\\\temp\\import MY_SAVE_PATH=c\:\\\\temp\\import\\save
<camel:from uri="file:{{MY_PATH}}?recursive=true&move={{MY_SAVE_PATH}}/${file:name}"></camel:from> On the disk I have a file: c:\\temp\import\a\01\1.xml I expected the file to be moved to: c:\\temp\import\save\a\01\1.xml 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: http://camel.465427.n5.nabble.com/File-component-move-option-tp3388470p3388470.html Sent from the Camel - Users mailing list archive at Nabble.com.