Hi I am trying to write a custom pipeline component to debatch a flatfile, my scenerio is I have a .txt file in which I have one header, multiple data records and one trailer and I need to debatch data records with 100 records of each like
Header
100 data records
trailer
this should be the format of each flatfile after debatching.
so I tried to write custom pipeline by seeing in one of the blog
http://blogs.msdn.com/brajens/archive/2006/07/20/biztalk-custom-receive-pipeline-component-to-batch-messages.aspx
but I am not able to perform the debatching with the above code can anyone please tell me how to do this debatching in custom pipeline component.
Thanks in advance