Skip to Content
0

How to extract header from a huge file which is splitting into multiple chunks ?

Nov 09, 2017 at 07:23 AM

24

avatar image
Former Member

Hi All,

For an interface with file->proxy Scenario, input file is a huge file (around 200MB) with almost 90k lines. The file has one header with three fields under header and multiple details with each detail node having a set of fields.

Because the file is huge, it is split into chunks for every 1000 records at adapter level. So, the first chunk has header and multiple details, second chunk has only details and so on.

But, the information in header is required to process every detail node. It is accessible in first message but not in second message.

How to solve this issue?

Is it possible to declare information in header as global variable and use in all messages?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers