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 D29D410636 for ; Wed, 5 Feb 2014 15:37:16 +0000 (UTC) Received: (qmail 92402 invoked by uid 500); 5 Feb 2014 15:37:15 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 91937 invoked by uid 500); 5 Feb 2014 15:37:10 -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 91301 invoked by uid 99); 5 Feb 2014 15:37:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 15:37:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [80.149.113.173] (HELO tcmail43.telekom.de) (80.149.113.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 15:37:03 +0000 Received: from q4de8ssaz61.gppng.telekom.de ([10.206.166.200]) by tcmail41.telekom.de with ESMTP; 05 Feb 2014 16:36:30 +0100 X-IronPort-AV: E=Sophos;i="4.95,786,1384297200"; d="scan'208";a="520359887" Received: from s4de8dsaanl.krf.telekom.de (HELO s4de8dsaanl.west.t-com.de) ([10.134.164.171]) by q4de8ssaz61.gppng.telekom.de with ESMTP; 05 Feb 2014 16:36:30 +0100 Received: from s4de8dsaanp.west.t-com.de ([10.134.164.175]) by s4de8dsaanl.west.t-com.de with Microsoft SMTPSVC(6.0.3790.4675); Wed, 5 Feb 2014 16:36:29 +0100 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: FTP Producer: Filename Header using SimpleLanguage Date: Wed, 5 Feb 2014 16:36:29 +0100 Message-ID: <3855FC211EE16E4386D1F0E115B0E4CCD4CC70@s4de8dsaanp.west.t-com.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-topic: FTP Producer: Filename Header using SimpleLanguage Thread-index: Ac8ih44oqndwDV0cStOOlz9cg2a2yA== From: To: X-OriginalArrivalTime: 05 Feb 2014 15:36:29.0960 (UTC) FILETIME=[0A3B7880:01CF2288] X-Virus-Checked: Checked by ClamAV on apache.org Hi @ll, we have a route simplified as following: from("direct:export") .process(new DataProcessor())=09 .setHeader("timestamp", constant(myDate)) .setHeader(Exchange.FILENAME, constant("ID_${date:header.timestamp:yyyyMMddHHmm}_mdata.xml")) .to("ftp://ftpserver/"); Everything works fine but filename is not generated correctly. Thanks for any advice! Regards Robin