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 B2489D78B for ; Thu, 30 Aug 2012 10:26:27 +0000 (UTC) Received: (qmail 63770 invoked by uid 500); 30 Aug 2012 10:26:26 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 62635 invoked by uid 500); 30 Aug 2012 10:26:24 -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 62575 invoked by uid 99); 30 Aug 2012 10:26:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 10:26:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of meenumeenu4@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 10:26:15 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T71wg-00088q-UV for users@camel.apache.org; Thu, 30 Aug 2012 03:25:54 -0700 Date: Thu, 30 Aug 2012 03:25:54 -0700 (PDT) From: "me.mehta" To: users@camel.apache.org Message-ID: <1346322354643-5718366.post@n5.nabble.com> Subject: Fetching data in batches MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.