Hi,

Can you show us the code of calypsox.reports.CsvReportsHandler?

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) 
(English)
http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On December 27, 2013 at 3:26:04 AM, keepcl123 (keepcl...@gmail.com) wrote:
>  
> Hi,
>  
> I want to read a csv file from the file directory into a java bean,  
> do some
> work on the data (a List) and then save the data to a new csv file.  
>  
> I mange to do the first part (unmarshal) , but I don't know how to  
> do the
> part of writing the file after I finished my work on it (marshal  
> ).
> Here is my code , but I get en exception on the marshal part : "can  
> not
> convert from a String to a Map"
>  
>  
> > class="calypsox.reports.CsvReportsHandler" />
> > id="report1">
> > location="BLLresources/reports.properties" />
>  
>  
> > uri="file:{{report1.incoming.directory}}?preMove={{report1.inprogress.directory}}&move=
> >   
> {{report1.done.directory}}&moveFailed={{report1.failed.directory}}"  
> />
>  
>  
>  
> > />
>  
>  
>  
>  
> > />
>  
>  
>  
> Can you help ?
> Thx
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/writing-a-csv-file-tp5745260.html  
> Sent from the Camel - Users mailing list archive at Nabble.com.  
>  

Reply via email to