camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject Log dynamic filename
Date Wed, 02 Oct 2013 11:49:17 GMT
Hi there,

I have a route defined as follows:

<route id="bla">
<from uri="....">
<setHeader headerName="CamelFileName">
<log message="my filename ${header.CamelFileName} !"/>  	
<to uri="ftp://bla"/>

The generated filename is (as supposed) the timestamp when it's created plus
the suffix .txt. But the log entry is the pattern/expression how it's

The filename is 20131001120000000.txt but
the log entry looks like this:
"my filename ${date:now:yyyyMMddHHmmssSSS}.txt"

I want to log the generated filename which is set in the header.

Could someone please tell me what's wrong?

I'm using Camel 2.8.4.

Thx in advance.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message