We receive EDI messages from a number of partners from a VAN via FTP. The EDI messages are named with the current timestamp.
Each message would need to go to a specific composite depending on the partner/message.
What is the best way to route these messages to a composite?
For example, lets say we receive 2 EDI messages from our VAN. One is from Ford and one is from Nissan. Both of the messages look like this:
20180128160422
20180128180374
How can I route these messages to the Ford/Nissan composites?
Note that in the first line of the EDI message we can see the EDI ID which will tell us that the message is Ford/Nissan. Can anything be done with this EDI ID?
Thanks in advance for your help