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 3B5F1185F5 for ; Thu, 9 Jul 2015 11:28:48 +0000 (UTC) Received: (qmail 85226 invoked by uid 500); 9 Jul 2015 11:28:47 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 85184 invoked by uid 500); 9 Jul 2015 11:28: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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 80824 invoked by uid 99); 9 Jul 2015 11:25:46 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Date: Thu, 9 Jul 2015 04:15:50 -0700 (MST) From: fxthomas To: users@camel.apache.org Message-ID: <1436440550364-5769042.post@n5.nabble.com> Subject: readSize option JDBC component not working for split MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello, I tried using the readSize option in the JDBC , but does not work. Is it that it won't work because I am using split with StreamList . I just want to get row By row from a DB , but i want only the first 10 rows. Currently it gets all the rows . Me code as below. from("timer://getData?period=2h").setBody(constant(from)).to("jdbc:DS?readSize=10&outputType=StreamList").split(body()).process(new CustomProcessor(CustomConstants.DB)).to(to); regards, Felix T -- View this message in context: http://camel.465427.n5.nabble.com/readSize-option-JDBC-component-not-working-for-split-tp5769042.html Sent from the Camel - Users mailing list archive at Nabble.com.