Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 11280 invoked from network); 27 Mar 2011 14:13:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Mar 2011 14:13:52 -0000 Received: (qmail 74604 invoked by uid 500); 27 Mar 2011 14:13:51 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 74574 invoked by uid 500); 27 Mar 2011 14:13:51 -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 74566 invoked by uid 99); 27 Mar 2011 14:13:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Mar 2011 14:13:51 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [80.237.138.8] (HELO perry.mc0.hosteurope.de) (80.237.138.8) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Mar 2011 14:13:47 +0000 Received: from server05.webmailer.hosteurope.de ([10.9.0.184]); by mailout.hosteurope.de (perry.mc0.hosteurope.de) running EXperimental Internet Mailer with esmtps (TLSv1:AES256-SHA:256) id 1Q3qib-0000Of-NN for users@camel.apache.org; Sun, 27 Mar 2011 16:13:25 +0200 Received: from nobody by server05.webmailer.hosteurope.de with local (Exim 4.72) (envelope-from ) id 1Q3qib-0001R5-Lb for users@camel.apache.org; Sun, 27 Mar 2011 16:13:25 +0200 To: Subject: Re: Streaming huge EDI file with camel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 27 Mar 2011 16:13:25 +0200 From: Claus Straube Organization: www.catify.com In-Reply-To: References: <4D8CCEBC.70502@catify.com> Message-ID: <0bc4fedf7276cd3023df30dfcba83e8f-EhVcX1tHRQZfX0QTGzpQCEFddQZLVF5dQUNHBzBSXF5ZXVkWXltxH1dUXjBeQkUDXVlcQlhQ-webmailer2@server05.webmailer.hosteurope.de> X-Sender: claus.straube@catify.com User-Agent: Host Europe Webmailer/2.0 X-HE-Access: Yes X-bounce-key: webpack.hosteurope.de;claus.straube@catify.com;1301235205;3230b7c3; Thank's Danial. Was a good idea to link the thread. To make it clear - I not ignored at the mylin list. But my problem to get the sax parser running with : > Sorry about that, here is the Smooks thread: > > http://old.nabble.com/Streaming-huge-EDI-file-with-camel-td31238361.html > > Regards, > > /Daniel > > On 27 March 2011 11:27, Claus Ibsen wrote: > >> On Fri, Mar 25, 2011 at 6:19 PM, Claus Straube >> >> wrote: >> > Hi all. >> > >> > I've posted this on the smooks list, but there was nobody who >> could give >> me >> > a hint... >> > >> >> btw its a good idea to post a link to that original thread so people >> can look as well. >> >> >> >> > I'm trying to transform a huge edi file to xml. For reading the >> file I'm >> > using camel. Here is my route: >> > >> > >> > from("file://target/in?noop=true") >> > .to("smooks://src/main/resources/smooks-config.xml") >> > .to("file://target/processing"); >> > >> > >> > My smooks config looks like this: >> > >> > >> > > xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd" >> > >> xmlns:core="http://www.milyn.org/xsd/smooks/smooks-core-1.4.xsd" >> > xmlns:edi="http://www.milyn.org/xsd/smooks/edi-1.4.xsd"> >> > >> > >> > > ignoreNewLines="true" /> >> > >> > >> > >> > >> > >> > >> > >> > >> > I'm getting a out of memory with a 30 MB edi file, but have to >> transform >> 250 >> > MB files. So I need a hint how to get a data stream into smooks >> and out >> > again. Is there a sample who to handle big EDI files? Is smooks >> the right >> > tool for this? >> > >> > Thanks in advance - Claus >> > >> >> >> >> -- >> Claus Ibsen >> ----------------- >> FuseSource >> Email: cibsen@fusesource.com >> Web: http://fusesource.com >> Twitter: davsclaus >> Blog: http://davsclaus.blogspot.com/ >> Author of Camel in Action: http://www.manning.com/ibsen/ >>