Newbie : batching the input XML files

Home Page Forums BizTalk 2004 – BizTalk 2010 Newbie : batching the input XML files

Viewing 1 reply thread
  • Author
    Posts
    • #16861

      Hi,

      A newbie to BizTalk, I have found a lot of information on de-batching messages. But my concern is to batch incoming messages.

      I would be using a File Receive Adapter. I need to accept various XML input messages (may be at any time during the day) . There is a need to Batch these XML messages and at the end of the day I must send a Batched Flat File.

      Conversion from XML to Flat file is not a problem. But my concern is how do I store the various Input messages and then create a batch. I tried using a map with looping, but the map works on every single input sent to it.

      Must I write a DotNet component etc. Please can anyone help me with the approach.

      Thanks in advance

        

    • #16862

      There's an impact on performance, but check out the idea of a "convoy pattern" by which you use a single orchestration instance to collect up the messages in your batch, combine them all together, and send out a single file.  Check out the whitepaper by the man himself, Stephen Thomas …. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bts_2004wp/html/956fd4cb-aacc-43ee-99b6-f6137a5a2914.asp?frame=true.

      • #16863

        Thanks,

        I shall go through it.

        • #16868

          Hi,

          I am currently using a custom pipeline to debatch a XML file. How can i get the records count.

          <xml>
          <record1>
          <field>
          </field>
          </record1>
          <record2>
          <field>
          </field>
          </record2>
          </xml>

          I read some where, ths can be done by promoting some fields. But not aboe to search the post again. Any guidence is much appreciated.

          Thanks in advance.

           

           

           

           

           

           

           

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