BizTalk Server 2020 – 20 days, 20 posts: Zip File Pipeline Component for BizTalk Server 2020

  • Sandro Pereira
  • Apr 3, 2020
  • 2 min read

BizTalk Server 2020 – 20 days, 20 posts – day 11. Following my recent blog posts, here is another pipeline component migrated to BizTalk Server 2020 that is part of my BizTalk Pipeline Components Extensions UtilityPack project: Zip File Pipeline Component.

📝 One-Minute Brief

Introduces the Zip File Pipeline Component for BizTalk Server 2020, a custom send‑pipeline component that enables automatic ZIP or GZIP compression of outgoing messages during the encode stage.

[/summary

Zip File Pipeline Component

The Zip File Pipeline Component runs in a send pipeline, specifically in the encode stage, where it compresses outgoing messages using ZIP or GZIP formats.

Functionally, it delivers the same capabilities you expect from compression tools such as WinZip or 7‑Zip, while integrating directly into the BizTalk messaging flow.

Most importantly, BizTalk performs the compression internally, so you don’t need to install any additional compression or decompression software on the BizTalk Server machines.

Zip File Pipeline Component for BizTalk Server 2020

To use this pipeline component in your projects, copy the BizTalk.PipelineComponents.ZipFile.dll file into the Pipeline Components folder on every BizTalk Server machine:

..\Program Files (x86)\Microsoft BizTalk Server\Pipeline Components

After that, BizTalk can immediately use the component at runtime. You do not need to register it in the Global Assembly Cache (GAC).

Additionally, the component exposes two simple configuration options:

  • FileExtension – lets you define the output file format, such as .zip or .gz.
  • Enabled – allows you to enable or disable message compression by setting a true or false value.

What is BizTalk Pipeline Components Extensions Utility Pack?

BizTalk Pipeline Components Extensions Utility Pack provides a collection of custom pipeline components that developers can use in receive and send pipelines. These components extend BizTalk Server’s out‑of‑the‑box pipeline capabilities.

The project lives in the BizTalk Server Open Source Community repository on GitHub (https://github.com/BizTalkCommunity). Moreover, anyone can contribute new pipeline components or enhance existing ones to further improve BizTalk Server capabilities.

BizTalk Pipeline Components Extensions Utility Pack: Zip File Pipeline Component for BizTalk Server 2020

At the moment, this project is available for:

  • BizTalk Server 2020;
  • BizTalk Server 2016;
  • BizTalk Server 2010;
  • BizTalk Server 2006-2009

Download

You can download BizTalk Pipeline Components Extensions Utility Pack from GitHub:

Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars Lego set for my son. 

Thanks for Buying me a coffe
Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

3 thoughts on “BizTalk Server 2020 – 20 days, 20 posts: Zip File Pipeline Component for BizTalk Server 2020”

  1. Hi I tested this component, det the zip extension and compression to true. File and extension is correct but file isn’t compressed.

  2. I have tested with .zip extension. I am getting the following error while extracting the output file.

    Before you can extract files, you must copy files to this compressed (zipped) folder.

  3. Hi Sandro.

    I have the same issue as mentioned by Lars. The file wont be compressed. It will be named as test.zip but it is actually only a renamed file of the original file. Is it due to the fact that the message must be a multipart message? All I do is picking up a text file test.txt via ReceivePort and receiveLocation and a Send Port (SMTP) with filter on that ReceivePort will send out the message with the selected PipeLine.
    Any ideas?

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top