I have a custome receive pipeline which defined flat file disassembler, this pipeline is referenced in an orchestration (in same solution), the orchestration has one receive / send port. The receive port is specific now as binding where indicated URI as input location and the send port has URI which indicated output location.
I want to build a error handler to catch incomming invalid file, after it goes to pipeline to validation the schema, then routed it to specific error location.
I'm not sure either make it in pipeline or orchestration, has anyone ever done something like this? Can you shred some light for me? Or do you have any suggestion? Because as using the pipeline to convert text file to XML and if the text file is invalid, the file was just dropped in some la la land….
Please help and thanks for your input.