Hi guys, the ${date:now:yyyyMMdd} is not parsed correctly. Can you please
help?

My route looks like this: 

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

That's parsed as below: 

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

What I expected : 

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

Thank you very much :)



--
View this message in context: 
http://camel.465427.n5.nabble.com/date-now-yyyMMdd-is-not-parsed-correctly-tp5771739.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to