You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by hayden74 <hd...@gmail.com> on 2015/09/19 00:48:50 UTC

Re: smb endpoint - modified files not copied to destination

I finally had time to try this. The result was not what I expected though. 

My route looks like this: 

   
from("file://C:/applications/data?fileName=${date:now:yyyyMMdd}/dataFile.csv")
        .log("New file received");

and the result was: 

   Route: route4 started and consuming from:
Endpoint[file://C:/applications/data?fileName=%24%7Bdate%3Anow%3AyyyyMMdd%7D%2FdataFile.csv]

What I expected is: 

 Route: route4 started and consuming from:
Endpoint[file://C:/applications/data?fileName=20150918/dataFile.csv]

Any idea? cheers



--
View this message in context: http://camel.465427.n5.nabble.com/smb-endpoint-modified-files-not-copied-to-destination-tp5770499p5771676.html
Sent from the Camel - Users mailing list archive at Nabble.com.