camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: camel jdbc and splitter
Date Fri, 06 Nov 2009 13:02:44 GMT
On Fri, Nov 6, 2009 at 1:58 PM, marcin80 <mtroscia@gmail.com> wrote:
>
> Hi,
>
> I have a problem with splitting of a message returned by jdbc component.
> Jdbc component returns ArrayList<HashMap<String, Object>> but when I want
to
> split it, splitter don't split this list and returns it without changing. I
> expected that splitter returns all list's elements seperately.
> So, how can I split of result of jdbc component? I need run some logic for
> every row returned from database and I don't know how can I do it?
>

Can you show the route ?

Usually in Java DSL you just do

from("jdbc:xxx").split(body()).to("yyyy");



> Thanks,
> Marcin
> --
> View this message in context: http://old.nabble.com/camel-jdbc-and-splitter-tp26230505p26230505.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message