we are splitting/debatching flat file(100,000 records) into individual record using flat file disassembler component in pipeline by having two different schema one header schema and body schema
Note:we have set preserve header set to true in flat file disasembler
Output we are getting seperate body messages as expected.
catch is here , wecall map(source bodymessage, destination different message) in receive port. wehave some field in header message to be mapped to destination message).
As header message will be present in context properties for each individual body message, it ispossible we can promote those fields in header message and demote in destination message?