Hello folks,
I hope that someone can point me in the right direction. My scenario is that I need to debatch messages from a flat file. For each flat file:
There is a header that contains a field that indicates the type of messages contained in the file.
There is a header that contains a field that indicates the type of messages contained in the file.
-
There are 5 types of messages that I might be receiving.
-
All messages within the same file must be of the same type as indicated in the header.
-
There is a trailer section that marks the end of the file
I have used the flat file disassembler in a receive pipeline where I used one schema for header, one for trailer, and one for one message type. This works fine but now I need to make this work for all message types.
Is there a way that I can use the Message Type information contained in the header to select what schema will be used?
Thanx in advance,
ESJA