Hi,
I have configured my file endpoint like this :
file://d:/temp/data/notification/${date:now:yyyyMMdd}/${in.header.messageType}-${date:now:hhmmss}.txt
Directory = /d:/temp/data/notification/${date:now:yyyyMMdd}/
FileName = ${in.header.messageType}-${date:now:hhmmss}.txt
Remark : notificationType is well present in the Header of the message
exchange with this endpoint
but Camel generates the following error :
Caused by: java.io.FileNotFoundException:
d:\temp\data\notification\${date:now:yyyyMMdd}\${in.header.messageType}-${date:now:hhmmss}.txt\ID-dell-charles-1778-1246434755850-1-17
(The filename, directory name, or volume label syntax is incorrect)
Where is the issue ?
Regards
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*****************************
blog : http://cmoulliard.blogspot.com