This date format is the XML date format:

The dateTime  XML is specified in the following form "YYYY-MM-DDThh: mm: ss"


Claus Ibsen-2 wrote:
> 
> Hi
> 
> Check ticket
> https://issues.apache.org/activemq/browse/CAMEL-2353
> 
> On Wed, Jan 13, 2010 at 6:37 AM, Claus Ibsen <[email protected]>
> wrote:
>> 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 <[email protected]> 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
>>
> 
> 
> 
> -- 
> 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
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Camel-%3A-Date-Pattern-tp27131137p27141174.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to