Thanks Steve. I am sending you the source and target file formats as
mentioned below. The source file can contain 100,000 - 10,00,000 records.

*Source delimited text file:*

[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
temPOSIdentity,100001111,,400000087325,UPC
ItemPOSIdentity,100001111,,400000087335,UPC

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

[Data.2]
ItemPOSIdentity,100001108,,,
ItemPOSIdentity,100001111,,,

The result file should look like:

--For add update operation
INSERT|ITEM_XREF|100001108||400000087320|||
INSERT|ITEM_XREF|100001108||400000087337|||
INSERT|ITEM_XREF|100001111||400000087325|||
INSERT|ITEM_XREF|100001111||400000087335|||

--For delete operation
DELETE|ITEM_XREF|100001108|||||
DELETE|ITEM_XREF|100001111|||||

Thank you.




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

Reply via email to