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.