Unintentional debatching in rcv pipeline

Home Page Forums BizTalk 2004 – BizTalk 2010 Unintentional debatching in rcv pipeline

Viewing 2 reply threads
  • Author
    Posts
    • #19587

       I’m receiving a csv flat-file.  It’s debatching in the pipeline, causing one orchestration to start for each row.

      Sometimes I desire such behavior, but in this case I don’t.

      I can’t figure out what is making it debatch.  The pipeline refers to two schemas, the header and document schema.

      Neither one has “Envelope=true” and thus neither had the “Body XPath” parameter set.

      Any ideas what else makes it debatch?

      Thanks,
      Neal Walters
      http://BizTalk-Training.com

       

    • #19589

      Neal,

      You will need two schemas to handle a debatching scenario and a non-debatching scenario.

      On the schema you don’t want debatching, check that the element on which the splitting is occuring is not set to MaxOccurs = 1, you want this to read ‘unbounded’ (i.e. ‘*’)

      Rgds, Nick.

    • #19590

      The Flat File DASM does not use the Envelope semantic to debatch a message. It uses the structure of the schemas.

      e.g if a schema has this structure

      <row><field/><field/><field/></row>

      Then the FF DASM will debatch by row.

      To receive the entire message change the schema to

      <message><row maxOccurs=”unbounded”><field/><field/><field/></row></message>

      • #19596

        Wow!  Thanks a lot.  It’s always interesting to learn new tricks of BizTalk.

        In this case, I brought the schema forward from an old system that we are rewriting.  Had I built the schema myself, I probably would have made the group unbounded.  Apparently in the old system, they wanted to debatch.

        Neal

         

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