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 2.11.1, sql component returns a LinkedCaseInsensitiveMap for evry row, not a ArrayList
Date Fri, 06 Sep 2013 08:00:08 GMT
Hi

Check the documentation
http://camel.apache.org/sql-component.html

You can find the answer there, see useIterator option.

On Thu, Sep 5, 2013 at 4:36 PM, kalber <Karlheinz.Alber@swslt.com> wrote:
> Î receive for every row of the resulset  an exchange - body with a
> LinkedCaseInsensitiveMap<V> object like this :
> {OBJ_CODE=6036.1, PRV_TARGA=EL809DT, STC_PCCODE=3232.PC, PRV_PRODTELA=null,
> PRV_MODTELA=530 K, PRV_TIPOBUS=null}
>
> My question is how can a configure out the from endpoint to send me once an
> ArrayList< LinkedCaseInsensitiveMap<V>>
> so that i can elaborate in my processor all records in one step.
>
> My  problem is that i receive not one ArrayList with all
> LinkedCaseInsensitiveMap but evry single row as a LinkedCaseInsensitiveMap.
>
>
>
>
>
>
>
>
>
>
> -----
> kh
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-2-11-1-sql-component-returns-a-LinkedCaseInsensitiveMap-for-evry-row-not-a-ArrayList-tp5738761p5738783.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message