Hi All,
I have a custom general pipeline component and flat file disassembler in a
receive pipeline. It is throwing a Receive Pipeline Error as "Reason: No
Disassemble stage components can recognize the data."
To isoalte, created 2 more custom pipelines,
pipeline 1) having custom receive pipleline component
pipeline 2) having flat file disassembler.
Tested these 2 pipelines, both are working fine, in the sense,
when used pipeline 1) flat file is passed through and subscribed send ****t
can receive the original file.
when used pipeline 2) flat file got disassembled and got couple of xml
files
to the subscribed send ****t.
Problem is when I have both custom component and flat file disassembler,
There is code in Execute() method of custom component to check some data
in
the incoming file, but finally for testing it came down to minimal code as
follows,
public Microsoft.BizTalk.Message.Interop.IBaseMessage
Execute(Microsoft.BizTalk.Component.Interop.IPipelineContext pc,
Microsoft.BizTalk.Message.Interop.IBaseMessage inmsg)
{
return inmsg;
}
even with minimal code it is throwing same error.
can somebody shed some light here for me ?
and one more thing, when is it required to replace original stream, I'm
assuming it is requied to replace only when there
are changes to stream, and as long as there is read operation on
stream(using StreamReader) there is no need to replace it, just return
incoming inmsg, rite ?
TIA
MeDhanush


|