Using Camel 2.2 JVM 1.5 + tomcat 6.0 and Windows XP SP3 Hi, I spent much time trying to figure out why my solution doesn't work as written in documentation. I want to configure file endpoint with move parameter, but only the last case from those described below works: (Am I doing sth wrong or there is a bug in CAMEL ?) I Case
Result: org.apache.camel.component.file.GenericFileOperationFailedException: Cannot create directory: c:\test\hotfolder\backup\now:yyyyMMdd\name II Case DSL from("file://c:/test/myfolder?preMove=inprogress&moveFailed=backup/${date:now:yyyyMMdd}/${file:name}") .to("file://c:/test/myfolder/toEnd"); Result preMove works fine (inprogress folder created), but move throws exception: GenericFileOperationFailedException: Cannot rename file: GenericFile[c:\test\hotfolder\xxx.txt] to: GenericFile[backup\20100512] III case IV Case Result: work as expected -- View this message in context: http://old.nabble.com/FileEndpoint-definition-%2B-File-Language-tp28532364p28532364.html Sent from the Camel - Users mailing list archive at Nabble.com.