camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel : Date Pattern
Date Wed, 13 Jan 2010 05:37:00 GMT
Hi

The issue is that your pattern is complex and it contains additional : chars.
I will get that fixed in the next release.


On Tue, Jan 12, 2010 at 6:26 PM, titexe <titexe@yahoo.fr> wrote:
>
> to retrieve the Date in the header of the message, i put the following code :
>
> <setHeader headerName="Date">
>        <simple>${date:now:yyyy-MM-dd'T'HH:mm:ss:SSS}</simple>
> </setHeader>
>
>
> This date format does not work? knowing that respects the date format
> pattern: yyyy-MM-dd'T'HH:mm:ss.SSSZ
>
> any idea?
>
> Thank you in advance
> --
> View this message in context: http://old.nabble.com/Camel-%3A-Date-Pattern-tp27131137p27131137.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message