locked
Custom Pipeline Component RRS feed

  • Question

  • Let cpc = custom pipeline component.

    Suppose there are 1 zip file containing 2 different flat files (both having same format).

    cpc1 is used to unzip 1 zip file.

    Flat file disassembler pipeline component converts output of cpc1 into xml.

    cpc2 is used to combine 2 xml output of flat file disassembler into 1 xml.

    How can cpc2 distinguish which output of flat file disassembler belongs to which original flat file?

    Thanks.

    Tuesday, May 16, 2017 4:17 AM

All replies

  • Hi

    Is this an actual business requirement?

    Can you elaborate why cpc2 needs to make this distinction? Maybe there is a another way to approach the problem.


    Thanks Arindam

    Tuesday, May 16, 2017 10:55 AM
    Moderator
  • What you're describing can be done in a Receive Location without customizing the Disassembler process by combining the unzip and ffdasm components in to a single Disassembler Component.

    It is relatively easy to do in an Orchestration and there's nothing wrong with that.  You just execute two different Pipelines, one to unzip, the other to disassemble the flat file.  Then you apply whatever process you need.

    Tuesday, May 16, 2017 11:49 AM
    Moderator