camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From megachucky <>
Subject Which expression language to use within Camel Splitter to split a CSV file?
Date Mon, 09 Dec 2013 10:38:52 GMT
Here is my use case:

I need to split a CSV file which contains orders. Parsing rules of this CSV
are very simple: 

- Each order has several lines (no fix number)

- Each order begins with one line (initiator): 
111;222;dynamic content

- Each order ends with two lines (terminator)
111;333;dynamic content
111;333;dynamic content

Initiator and terminator have to be included in the outcome of the split.

I am not sure which supported Expression Language
( is best for this kind of use case?
I think this can be solved with a regular expression easily (mabye within a
POJO). What do you think? What is best practice? Thanks for help...

Best regards,

 Best regards, 
    Kai W&auml;hner 
    Twitter: @KaiWaehner 
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message