Zip 100 incoming messages

Home Page Forums BizTalk 2004 – BizTalk 2010 Zip 100 incoming messages

Viewing 1 reply thread
  • Author
    Posts
    • #14781

      I have a folder that contains 100 messages(pictures) that I only want to pass Biztalk through a send port(passthru). How or can i collect all files and zip them into one file and deliver it to it’s destination? I assume that it must be done in a custom pipeline?
      Has anyone done something similair?

    • #14782

      I think an Orchestration is the only way to do this. A pipeline would create 100 instances and you can’t really group inside them.

      Depending on the size, you could end up running out of memory inside BizTalk.

      Maybe a custom adapter could work.

      This doesn’t really sound like something that BizTalk would really excel at. I think you could use a .net component to do this with minimal effort. That would be called through an Orchestration if needed.

      Just my thoughts.

      • #14783

        I think the custom adapter would be the best place to do this.
        If you wanta head start you could try this adapter:
        [url]http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=E473FC93-5081-44C7-A9C9-84BF4E783728[/url]

        You will need to write a scheduled task to perform the zip function

        • #14784

          I agree with Stephen, using BizTalk for this would not be a good idea. You could use BizTalk to inform the endpoints of the need to do a file transfer, or collect a list of file names to be zipped, or whatever, but if you send this through BizTalk you’re storing all those pictures in the MessageBox, however temporarily, which is a big waste of bandwidth.

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