Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B3F472DE for ; Wed, 7 Dec 2011 16:01:20 +0000 (UTC) Received: (qmail 39526 invoked by uid 500); 7 Dec 2011 16:01:19 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 39461 invoked by uid 500); 7 Dec 2011 16:01:19 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 39453 invoked by uid 99); 7 Dec 2011 16:01:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 16:01:19 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qy0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 16:01:14 +0000 Received: by qcsd15 with SMTP id d15so580867qcs.32 for ; Wed, 07 Dec 2011 08:00:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=htHRmNZoTStagyCBOWCLQNEbw8Dq7ifbbjsxzir7OWk=; b=Ifj7W37GwvgeMOVjUuPmvHcN8dswEBFhesDfJh6sIx/KVQjb6hyoJb8bF3nf/VhfB3 Ljjyt2QGxuBNqMZGZpvFYJaEacbMrM58qzUPd1vJ0zEcMAlH/VUl2RbUaykTz7qx77d8 5u/cyIaQdmyVbP8YD4eLUZh0pYgvJPukulQgk= Received: by 10.182.227.7 with SMTP id rw7mr3729373obc.70.1323273653167; Wed, 07 Dec 2011 08:00:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.17.231 with HTTP; Wed, 7 Dec 2011 08:00:32 -0800 (PST) In-Reply-To: <1323272845481-5056060.post@n5.nabble.com> References: <1323191266812-5052753.post@n5.nabble.com> <1323212266019-5053745.post@n5.nabble.com> <1323272845481-5056060.post@n5.nabble.com> From: Claus Ibsen Date: Wed, 7 Dec 2011 17:00:32 +0100 Message-ID: Subject: Re: Date String Creation To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Dec 7, 2011 at 4:47 PM, Castyn wrote: > So if I declared a bean with id of getLastRunDate that returned a string of > the appropriate date format, how do you actually call that in the Spring DSL > to set a header? > Use the method call expression, something a like this: > -- > View this message in context: http://camel.465427.n5.nabble.com/Date-String-Creation-tp5052753p5056060.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/