Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 85824 invoked from network); 9 Oct 2009 22:28:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Oct 2009 22:28:46 -0000 Received: (qmail 59795 invoked by uid 500); 9 Oct 2009 22:28:46 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 59730 invoked by uid 500); 9 Oct 2009 22:28:46 -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 59720 invoked by uid 99); 9 Oct 2009 22:28:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 22:28:46 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 22:28:36 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MwNwd-0002Zs-3G for users@camel.apache.org; Fri, 09 Oct 2009 15:28:15 -0700 Message-ID: <25828828.post@talk.nabble.com> Date: Fri, 9 Oct 2009 15:28:15 -0700 (PDT) From: tide08 To: users@camel.apache.org Subject: Re: handling large files In-Reply-To: <25826380.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: sachin2_2k@yahoo.com References: <25826380.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org You can use camel-stream - http://camel.apache.org/stream.html Reju Mathew wrote: >=20 > I need to move large files (around 800 MB) using camel route via Active > MQ.=20 > =20 > The split method does not give any option to split on size. Besides when = I > use a route like > from(=E2=80=9Cfile:data=E2=80=9D).split(..).to("jms:myq").to("file:dest")= - loads the > entire file into memory and then tries to split (causing out of memory)? >=20 > Is there a better way? >=20 > Thanks, > Reju >=20 >=20 --=20 View this message in context: http://www.nabble.com/handling-large-files-tp= 25826380p25828828.html Sent from the Camel - Users mailing list archive at Nabble.com.