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 56A5BDDBF for ; Fri, 31 Aug 2012 05:47:25 +0000 (UTC) Received: (qmail 26450 invoked by uid 500); 31 Aug 2012 05:47:25 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 25724 invoked by uid 500); 31 Aug 2012 05:47:19 -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 25681 invoked by uid 99); 31 Aug 2012 05:47:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 05:47:18 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.mueller@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qc0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 05:47:11 +0000 Received: by qcab12 with SMTP id b12so2299976qca.32 for ; Thu, 30 Aug 2012 22:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KO1pDpZsRMYnqDDERirPH9kybWff0DLrEsJXEuAOxsI=; b=PLTPGj2pNj08QB/YYcno6eMLISSF54EW58stQR3Wi/e/SS9IqHrNovKPAowEaG92Rt 8O0sgOsIi1+BqYexuwMiBOdDdb8xWY8yC1Ryg+X2w7jM/T+Jp6DLcA/JhWyf8NIgWMN7 J1WXwpKXIWyFLDqaTctg0OFiAj31fw6wZ26K4GN/RtPL6B0fY0A1mRmfAxSfB5ECLZwV 8u0iQJdgfnFUfDa9+Ee8+riS438RY/AHxzMcHxt+rWez8FGpTYEb5AsYtUhodAzCbPEc Yhdo5tlW+/gdjQ+JvVNggIc+sJiFUeHGFGNEEbBA6ZdwJHww5NoBnhB+gCVVvam8Have acLA== MIME-Version: 1.0 Received: by 10.229.105.205 with SMTP id u13mr4342738qco.9.1346392011132; Thu, 30 Aug 2012 22:46:51 -0700 (PDT) Received: by 10.49.63.9 with HTTP; Thu, 30 Aug 2012 22:46:50 -0700 (PDT) Received: by 10.49.63.9 with HTTP; Thu, 30 Aug 2012 22:46:50 -0700 (PDT) In-Reply-To: <1346322354643-5718366.post@n5.nabble.com> References: <1346322354643-5718366.post@n5.nabble.com> Date: Fri, 31 Aug 2012 07:46:50 +0200 Message-ID: Subject: Re: Fetching data in batches From: =?ISO-8859-1?Q?Christian_M=FCller?= To: users@camel.apache.org Content-Type: multipart/alternative; boundary=0022158c0f0d8d507d04c88951e1 --0022158c0f0d8d507d04c88951e1 Content-Type: text/plain; charset=ISO-8859-1 What do you mean exactly? With camel-sql and camel-jdbc you can configure the max. number of records fetched... Sent from a mobile device Am 30.08.2012 12:26 schrieb "me.mehta" : > Hi, > > I have a requirement where I am getting large number of rows from sql > endpoint in camel, and then processing each record and writing to a file. > I want to know if there is some way to fetch the data in batches rather > than > in a go. > > Thanks, > Mehta > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Fetching-data-in-batches-tp5718366.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --0022158c0f0d8d507d04c88951e1--