On Sun, May 29, 2011 at 1:22 PM, sumatheja <sumath...@gmail.com> wrote:
> Hi Claus,
>             Thanks for your patient reply. I tried using split... But
> unable to get it working. In the above route i think the first route is
> providing list of maps and each map has list of objects. Is there a way to
> provide my custom functionality ( converting from list->map->beans)? If yes
> can you provide me some sample code snippet for the route??
>

Ah yeah Bindy may seem a bit cumbersome there with its output. We have
plans to improve this in the future, for example Camel 3.0 onwards as
we can alter the API and have a bit of non backwards comp.

You can use a Camel Processor to alter the message and store the lines
in a plain List, so they are not in that List<Map>.
http://camel.apache.org/processor

from
  bindy
   process(new MyProcessor())
  split



> Thanks in advance
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/CSV-to-database-tp4435750p4436846.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
CamelOne 2011: http://fusesource.com/camelone2011/
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to