camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henryk Konsek <>
Subject Re: Does Camel Bindy supports text files
Date Fri, 22 Jun 2012 13:07:20 GMT
>> I need to process a text file (.txt). So @CsvRecord works for both .txt and
>> .csv files ?

Whenever you talk about processing CSV file and don't mention Stream
[1] component, a unicorn dies. :)

CsvDataFormat csv = new CsvDataFormat();
// Record represented as List<String> goes to the 'seda:recordQueue'

Unfortunately Stream component works only for streams of lines. As far
as I know it cannot be used to consume stream which records are
separated with some other token.

Best regards.


Henryk Konsek

View raw message