You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ericsodt <de...@ll.mit.edu> on 2013/08/29 20:54:30 UTC

Re: Java heap space issue with reading large CSV file

Claus,

I am running into the same issue as stated above.  Are there any examples of
Camel splitting files 'out of the box'?  I tried a prelim search, but it was
unsuccessful.


Thanks!



--
View this message in context: http://camel.465427.n5.nabble.com/Java-heap-space-issue-with-reading-large-CSV-file-tp2638903p5738243.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Java heap space issue with reading large CSV file

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Camel in Action chapter 8.3.3 covers this.
And there is possible some links to splitting here:
http://camel.apache.org/articles
And you can check the unit test of camel-core as there is examples
also for testing the splitter with files.

Though its fairly easy, something alike:


from file
  split tokenize \n streaming
    to bean : one line
  end





On Thu, Aug 29, 2013 at 8:54 PM, ericsodt <de...@ll.mit.edu> wrote:
> Claus,
>
> I am running into the same issue as stated above.  Are there any examples of
> Camel splitting files 'out of the box'?  I tried a prelim search, but it was
> unsuccessful.
>
>
> Thanks!
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Java-heap-space-issue-with-reading-large-CSV-file-tp2638903p5738243.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