camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h0mer <>
Subject Re: Camel Large File Processing Issues
Date Mon, 18 Apr 2016 06:36:32 GMT
That's what I figured.  But the body is already a String type, so if I do the
route above without the marshal(), I don't get the content of the file in
the Exchange, but rather I get just the file name and some other content
(see the last part of my original post above).  

Here is my Route without any marshalling or casting the body to a String

    public void configure() throws Exception {
                .process(new FtpToLocalFileProcessor())
                .routeId("ROUTEID::::: " + ftpToKafkaObj.getRouteId())

This works (as in it goes through without any OOME), but gives me the
following in the exchange:


How do I get the actual String contents line by line, without doing a
marshal or casting the body to a String.class type?  The file uses the
default UTF-8 charset and is of type string as it is only an apache log

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message