Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EACE2200AE2 for ; Fri, 27 May 2016 22:24:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E94EB160A12; Fri, 27 May 2016 20:24:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3D144160A10 for ; Fri, 27 May 2016 22:24:07 +0200 (CEST) Received: (qmail 88868 invoked by uid 500); 27 May 2016 20:24:06 -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 88857 invoked by uid 99); 27 May 2016 20:24:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 May 2016 20:24:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 8C139C0D1F for ; Fri, 27 May 2016 20:24:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.28 X-Spam-Level: ** X-Spam-Status: No, score=2.28 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 79o6Hda2-sKG for ; Fri, 27 May 2016 20:24:02 +0000 (UTC) Received: from mx0a-00176a03.pphosted.com (mx0a-00176a03.pphosted.com [67.231.149.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3E5CB5F1F3 for ; Fri, 27 May 2016 20:24:01 +0000 (UTC) Received: from pps.filterd (m0048275.ppops.net [127.0.0.1]) by m0048275.ppops.net-00176a03. (8.16.0.11/8.16.0.11) with SMTP id u4RKMwc5021817 for ; Fri, 27 May 2016 16:23:53 -0400 From: "Mills, Gary (GE Digital)" To: "users@camel.apache.org" Subject: camel ftp producer autocreate 2.15 Thread-Topic: camel ftp producer autocreate 2.15 Thread-Index: AdG4VakFs9zcnTuYQL+JcwwKHsvSUg== Date: Fri, 27 May 2016 20:23:43 +0000 Message-ID: <432B2D5A72ED8747AF3452FB7E9DF6FE97848D@ALPURAPA01.e2k.ad.ge.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [3.159.19.188] Content-Type: multipart/alternative; boundary="_000_432B2D5A72ED8747AF3452FB7E9DF6FE97848DALPURAPA01e2kadge_" MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-05-27_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1605270231 archived-at: Fri, 27 May 2016 20:24:08 -0000 --_000_432B2D5A72ED8747AF3452FB7E9DF6FE97848DALPURAPA01e2kadge_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello fellow Camel's - Thanks in advance !!! - I have a question. My problem is I need to take files from message queue tr= ansform them, rename them, and populate an ftp server with the directory st= ructure and files, that will be transferred to another server file share mo= unted on a cloud server. The problem is creating the directory structure and renaming the files bein= g produced on the ftp site. I'm using camel 2.15.
correlationId
${body.totalParameterCount} =3D=3D ${in.heade= r.parameterCountByAsset[${in.header.enginePosition}]}
The cifsUri works as we want creating the directory and renaming the file := 717-200/BB9D2AC8-3B10-479B-9823-9F0AB1197C49_2016-05-27_17.03.00.txt ( th= is is because, and I think, I am ftp'ing to a mounted file share ) The DeltaPreProd or simply the uri below it, produces something like: ${hea= der.aircraftMetadata.outputPath}/${header.engineGuid}_${header.messageDateT= ime}.txt/null-destination--ID-414d5120544f51313150524420202020f934e856a1819= 526 --_000_432B2D5A72ED8747AF3452FB7E9DF6FE97848DALPURAPA01e2kadge_--