Hello Experts,

I'm a new bee to the Camel technology and have the following requirement.
Can someone help me with how to go about it.

*P.S. I've gone through CSV data format, BeanIO and Bindy implementations of
Camel and felt that they can't accommodate my requirement, correct me if am
wrong here :-)*

Requirement:

I've a text file that has got the below format:

[Runtime]
Date=ASAP
Time=
AllowErrors=FALSE

[Task.1]
Server=Item Master
Module=ItemPOSIdentity
Operation=addupdate

[Data.1]
ItemPOSIdentity,100001108,,400000087320,UPC
ItemPOSIdentity,100001108,,400000087337,UPC

[Task.2]
Server=Item Master
Module=ItemPOSIdentity
Operation=delete

[Data.2]
ItemPOSIdentity,100001108,,400000087320
ItemPOSIdentity,100001108,,400000087337


*If you look at the above format, the Task.x is linked with Data.x element
and Task.x defines which operation to perform such as addupdate/delete/add
etc. The operation type defined in Task.x needs to be executed on Data.x.
For eg. If the operation type is addupdate for Task.1 then for Data.1, we've
to execute addupdate for all the rows. I need to read this file, process it
and generate a new file in a different format.*

Your help is much appreciated.

Thank you.

Best Regards,
Raghu



--
View this message in context: 
http://camel.465427.n5.nabble.com/Need-help-in-processing-comma-seperated-text-file-tp5787930.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to