We have built a custom pineline component using a flat file disassembler. The main purpose of this flat file disassembler is for flat file validation using the flat file schema.
Our purpose is: once the flat file received in receivelocation pass the flat file disassember (which mean the file format is correct), we would like to copy the original flat file (NOT the disassembled XML file) to another folder.
We have built a custom pipeline component for file copying, but if we place this component AFTER the flat file disassemblr component, we can only backup the disassembled XML file, not the original flat file.
Any idea how can we archive our purpose?
Thanks a lot.
The easiest way would be to create a flatfile assembler in a send pipeline from the same schema and use this in a sendport with filters set to the receiveport. This way you can have the file validated and sent to any destination.
Or is there any specific reason you cant assemble the disassembled version?