cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos
106

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?

Accepted Solutions (0)

Answers (0)