Custom disassembler – wrong values of LastInterchangeMessage and InterchangeSequenceNumber properties

Home Page Forums BizTalk 2004 – BizTalk 2010 Custom disassembler – wrong values of LastInterchangeMessage and InterchangeSequenceNumber properties

Viewing 1 reply thread
  • Author
    Posts
    • #23319

      Good day everyone.

      I’m writing custom XML disassembler component and have almost succeeded with it  – at least it splits  content of the original message as needed.

      But after applying this component to my custom receive pipeline I noticed some strange side effects. After detailed examining of what is coming into BizTalk MessageBox I noticed that all messages in the Interchange have the same value for LastInterchangeMessage property set to ‘True’ and InterchangeSequenceNumber property set to the total number of messages in the interchange. Of course they also have the same InterchangeId but different Message Id’s.  I tried to promote these properties manually – both in Disassemble and GetNext methods of my component but didn’t succeeded with it – although the promoting code executes it doesn’t take any effect on the resulting message.

      What am I doing wrong and what should I do to make those properties have correct values?

      Would be appreciated for any help.

      Thanks in advance,

       Denis.

    • #23320

      Managed to find what caused the problem: instead of cloning input
      message’s context each time a new message is created I did it only once
      – at the beginning of the Disassemble method, so different messages had
      the same context as the last message in the Interchange.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.