Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 44450 invoked from network); 27 Apr 2010 18:41:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 18:41:53 -0000 Received: (qmail 94290 invoked by uid 500); 27 Apr 2010 18:41:53 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 94255 invoked by uid 500); 27 Apr 2010 18:41:52 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 94247 invoked by uid 500); 27 Apr 2010 18:41:52 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 94244 invoked by uid 99); 27 Apr 2010 18:41:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 18:41:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 18:41:50 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3RIfR6P019421 for ; Tue, 27 Apr 2010 18:41:27 GMT Message-ID: <31549743.6461272393687322.JavaMail.jira@thor> Date: Tue, 27 Apr 2010 14:41:27 -0400 (EDT) From: "Ashwin Karpe (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-2631) Add time millis converter which can convert from String to long In-Reply-To: <9987794.811270974103671.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashwin Karpe updated CAMEL-2631: -------------------------------- Attachment: time-pattern-converter-patch.diff The final changes have been made. I have tested and source-checked the code and believe it to be ready for commit. I will do so shortly. Cheers, Ashwin... > Add time millis converter which can convert from String to long > --------------------------------------------------------------- > > Key: CAMEL-2631 > URL: https://issues.apache.org/activemq/browse/CAMEL-2631 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core > Reporter: Claus Ibsen > Assignee: Ashwin Karpe > Priority: Minor > Attachments: time-pattern-converter-patch.diff > > > Its currently a bit annoying to set a delay by millis and if you need, like 1 hour 30 min period. What is this in millis? > We should add a TypeConverter for that which has a String notation such as: > {code} > 1h30m > 3h45m25s > 10m > 15m20s > 30s > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.