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 4C215200AE4 for ; Fri, 10 Jun 2016 08:09:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4AB9F160A59; Fri, 10 Jun 2016 06:09:49 +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 9163B160A58 for ; Fri, 10 Jun 2016 08:09:48 +0200 (CEST) Received: (qmail 82680 invoked by uid 500); 10 Jun 2016 06:09:47 -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 82669 invoked by uid 99); 10 Jun 2016 06:09:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 06:09:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BFC521805DB for ; Fri, 10 Jun 2016 06:09:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.486 X-Spam-Level: ***** X-Spam-Status: No, score=5.486 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HTML_MESSAGE=2, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 80jnRZJxY4uC for ; Fri, 10 Jun 2016 06:09:44 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id 4FF9D5F23F for ; Fri, 10 Jun 2016 06:09:44 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 4E1242A04433 for ; Thu, 9 Jun 2016 22:50:40 -0700 (PDT) Date: Thu, 9 Jun 2016 23:09:42 -0700 (MST) From: souciance To: users@camel.apache.org Message-ID: In-Reply-To: References: Subject: Re: HELP Camel Splitter Question - thanks in advance MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_805429_709703506.1465538982817" archived-at: Fri, 10 Jun 2016 06:09:49 -0000 ------=_Part_805429_709703506.1465538982817 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Try converting the body to string after the streaming part. Den 10 juni 2016 12:51 fm skrev "Mills, Gary (GE Digital) [via Camel]" < ml-node+s465427n5783810h73@n5.nabble.com>: > Hello, > > Can you tell me why this isn't working and it's real strange. > If I use the ${body} * I cannot use tokenize with it ( I > don't know if they work together or not ), it throws a schema impl > exception. > But it produces a different result which is the same as the input file as > if it is not split at all. See below: with tokenize > > My test input file content: > A > B > C > D > > The route ( its text book ) I don't get it. > > > > > > > > uri="{{myTestTarget}}?fileName=/${file:name.noext}-${date:now:yyyy-MM-dd}.${file:name.ext}&charset={{Encoding2}}" > /> > > > > > > > > > > > > > > value="file:/data1/archive/outputArchive/myTestFolder"/> > > > > > My output I would expect should be: > Split Line A > Split Line B > Split Line C > Split Line D > File1 : A > File2 : B > File3 : C > File4 : D > BUT THIS IS WHAT I'm GETTING: ??? IDK this one has my head spinning. > I'm on camel 2.15.1 and the fuse 6.2-133 > > 2016-06-09 18:16:15,922 | INFO | 022/fromvan/guid | route1 > | ? ? | 198 - > org.apache.camel.camel-core - 2.15.1.redhat-620133 | Before Split message > body: A > B > C > D > 2016-06-09 18:16:15,939 | INFO | 022/fromvan/guid | route1 > | ? ? | 198 - > org.apache.camel.camel-core - 2.15.1.redhat-620133 | Split line -rwxrwxrwx > 1 0 0 10 Jun 09 22:16 splitterTestFile.txt ( this is > my output ???) > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428h31@n5.nabble.com > To unsubscribe from Camel - Users, click here > > . > NAML > > -- View this message in context: http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783811.html Sent from the Camel - Users mailing list archive at Nabble.com. ------=_Part_805429_709703506.1465538982817--