Can you confirm the attached image is a stack trace? Regards, Allan.
Sent from Gmail mobile. On 8 Jun 2017 17:48, "sakouhi" <sakouhicha...@gmail.com> wrote: > I followed an example from a book Camel in action. how to marchal and > unmarchal a csv data format. However, I want to unmarchal a csv files with > (comma seperated delimiter) and split body. Then, I will use content based > .choice to distribute messages according to required tasks. > In fact, The first and simple example didn't work to me. I used camel > 2.15.6 (camel-core, camel-context, camel-csv, commons-csv) and java 7. > public void configure() > { > CsvDataFormat csv = new CsvDataFormat(); > csv.setDelimiter(","); > > from("file:test?noop=true") > .unmarshal().csv() > .split(body()) > .to("file:out"); > } > Please find below the stack trace. > <http://camel.465427.n5.nabble.com/file/n5802566/errorstack.png> > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Parsing-csv-data-format-tp5802566.html > Sent from the Camel - Users mailing list archive at Nabble.com. >