camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadrian Zbarcea (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-1805) Timer component - setting time option from URI is missing a converter from String to Date
Date Mon, 20 Jul 2009 04:10:35 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hadrian Zbarcea updated CAMEL-1805:
-----------------------------------

    Fix Version/s:     (was: 2.0.0)
                   2.0-M3

> Timer component - setting time option from URI is missing a converter from String to
Date
> -----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1805
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1805
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.6.1, 2.0-M2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.6.2, 2.0-M3
>
>
> The {{time}} option expects a java.util.Date object, but is given a String with the date.
> Adding String -> Date converters in the TimerComponent directly so we can convert
it to a Date object.
> Supports the following to patterns
> {code}
>                 sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
>             } else {
>                 sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
> {code}
> And adding a new option {{pattern}} to allow you to specify the pattern in the URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message