You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Dennis Busche <de...@googlemail.com.INVALID> on 2020/06/09 08:51:49 UTC

Help for my bachelor thesis

Hello,

i am trying to read a csv file into camel. The first line is a header and
the rest is the body with data in it. I want to process and evaluate the
data to a List. From this list I want to make java objects to do some
mapping and calculations. After that I want to send a new csv file to
another endpoint.
I want to do this because I thought apache camel is the best way to make
integration happen. My task is to migrate a legacy system with camel in
java.  I spent the last 3 weeks all day getting into this. Mainly i use the
Camel in Action second edition book, the documentation on the camel website
and also the java ones but i don't get it.

I am using Eclipse IDE version 4.15.0 with JRE javaSE-1.8,
apache-maven-3.5.0.
I attached my little Code examples.

I would be incredibly happy to hear from you..
I apologize for my limited english and hope you can help me.

With kind regards
Dennis Busche

Re: Help for my bachelor thesis

Posted by Kurt Stam <ku...@gmail.com>.
Hi Dennis,

Try to reduce the complexity of your task at hand. Try to break it down in smaller pieces and try to make to work. Try to make an example work and then slowly modify the example. 

Here is maybe something to get you started:
https://stackoverflow.com/questions/8122748/best-strategy-for-processing-large-csv-files-in-apache-camel/8123092 <https://stackoverflow.com/questions/8122748/best-strategy-for-processing-large-csv-files-in-apache-camel/8123092>

Cheers,
—Kurt

> On Jun 9, 2020, at 10:51 AM, Dennis Busche <de...@googlemail.com.INVALID> wrote:
> 
> Hello, 
> 
> i am trying to read a csv file into camel. The first line is a header and the rest is the body with data in it. I want to process and evaluate the data to a List. From this list I want to make java objects to do some mapping and calculations. After that I want to send a new csv file to another endpoint. 
> I want to do this because I thought apache camel is the best way to make integration happen. My task is to migrate a legacy system with camel in java.  I spent the last 3 weeks all day getting into this. Mainly i use the Camel in Action second edition book, the documentation on the camel website and also the java ones but i don't get it.
> 
> I am using Eclipse IDE version 4.15.0 with JRE javaSE-1.8, apache-maven-3.5.0.
> I attached my little Code examples. 
> 
> I would be incredibly happy to hear from you..
> I apologize for my limited english and hope you can help me. 
> 
> With kind regards
> Dennis Busche