>> 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();
csv.setDelimiter("|");
// Record represented as List goes
@CsvRecord works for both .txt and .csv files ? YES YES YES
On Thu, Jun 21, 2012 at 6:53 PM, arep...@hotmail.com wrote:
> Thanks Charles. In the sample code below, it says @CsvRecord, but in my
> case
> I need to process a text file (.txt). So @CsvRecord works for both .txt and
> .csv files ?
>
>
Yes, even I did some research on beanIO and thought it is a good option for
flat file processing.
It is good to know that comes with camel.
--
View this message in context:
http://camel.465427.n5.nabble.com/Does-Camel-Bindy-supports-text-files-tp5714792p5714869.html
Sent from the Camel - Users
Thanks Charles. In the sample code below, it says @CsvRecord, but in my case
I need to process a text file (.txt). So @CsvRecord works for both .txt and
.csv files ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Does-Camel-Bindy-supports-text-files-tp5714792p5714867.html
Sent
Hi
Besides Bindy there is other Camel components for flat files parsing.
http://camel.apache.org/data-format.html
One of the projects I think seems to be very compelling is the new
beanio coming in the new Camel 2.10 release (out later this month)
http://camel.apache.org/beanio.html
On Thu, Ju
Yeah, it's well documented at [1].
[1] http://camel.apache.org/bindy.html
Best,
Christian
On Thu, Jun 21, 2012 at 8:23 AM, Charles Moulliard wrote:
> For sure that camel-bindy supports also a text file where the separator is
> a pipe.
> Here is an example
>
> *case 3 : separator = '|'*
>
> Comp
For sure that camel-bindy supports also a text file where the separator
is a pipe.
Here is an example
*case 3 : separator = '|'*
Compare to the previous case, the separator here is '|' instead of ';' :
10| J| Pauline| M| XD12345678| Fortis Dynamic 15/15| 2500| USD| 08-01-2009
@CsvRecord( sepa