camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From camel_ch <chitturi...@gmail.com>
Subject date:command:pattern
Date Tue, 09 Feb 2016 19:03:40 GMT
Hi 

I am trying the below  using camel route 

<to 
uri="file:{{file.path}}?noop=true&amp;fileExist=Append&amp;fileName=2767_${date:now:yyyyMMdd}.txt"
/>


But instead of 2767_20160209.txt  , it is giving 

2767_now:yyyyMMdd.txt

Any help is highly appreciated ! 



--
View this message in context: http://camel.465427.n5.nabble.com/date-command-pattern-tp5777485.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message