Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 36002 invoked from network); 28 Oct 2009 14:27:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 14:27:26 -0000 Received: (qmail 17787 invoked by uid 500); 28 Oct 2009 14:27:26 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 17758 invoked by uid 500); 28 Oct 2009 14:27:26 -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 17748 invoked by uid 99); 28 Oct 2009 14:27:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 14:27:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=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; Wed, 28 Oct 2009 14:27:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N39UG-0006Dh-Ek for users@camel.apache.org; Wed, 28 Oct 2009 07:26:56 -0700 Message-ID: <26095446.post@talk.nabble.com> Date: Wed, 28 Oct 2009 07:26:56 -0700 (PDT) From: Bak Attila To: users@camel.apache.org Subject: Tip needed: easiest way to split MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: bakattila12@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have a timer-based sql query which works ok. from("timer://foo?period=1000"). to("sql:select * from error?dataSourceRef=dataSource").split(???)) the result from the sql poll is coming in a list. What would be the easiest way to split this List as would need to process the retrieved rows as separate messages. Is there a built-in mechanism for this? Thanks attila -- View this message in context: http://www.nabble.com/Tip-needed%3A-easiest-way-to-split-tp26095446p26095446.html Sent from the Camel - Users mailing list archive at Nabble.com.