Skip to Content
Author's profile photo Praveen Gujjeti

Undocumented Feature: Gzip/Gunzip using standard SAP PayloadZipBean module

In this blog, I would like to share you undocumented feature of PayloadZipBean module using which you can gzip/gunzip XI payloads.

  • to gzip the payload, use param value gzip for parameter name zip.mode in the module configuration
  • to gunzip, use param value gunzip for parameter name zip.mode in the module configuration

Please note that, only main payload can be gzipped using this feature

for more information on general usage of payloadzipbean module , SAP help: PayloadZipBean (SAP Library – SAP NetWeaver Exchange Infrastructure)

for more information on gzip, please check: http://www.gzip.org/

Hope this undocumented feature helps your integration requirements 🙂 .

Best Regards,

Praveen Gujjeti

Assigned tags

      9 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      why arrive i at an alert-configuration page through this link?

      Could you check it?

      Author's profile photo Praveen Gujjeti
      Praveen Gujjeti
      Blog Post Author

      Hi Rene, which link you are referring to?

      Author's profile photo Former Member
      Former Member
      Author's profile photo Praveen Gujjeti
      Praveen Gujjeti
      Blog Post Author

      Updated now. Thanks for the correction

      Author's profile photo Muniyappan Marasamy
      Muniyappan Marasamy

      Thanks Praveen for sharing.

      how can we see the file size after gzipping?

      channel log gives me size before gzip and after gunzip. i am just wondering if we can see the filesize.

      i am using file to file scenario using ico (without ESR)

      Regards,

      Muni.

      Author's profile photo Praveen Gujjeti
      Praveen Gujjeti
      Blog Post Author

      Hi Muni,

      As I understand from your statements that message size is not audit logged after gzipping. May be this functionality is not in the gzip module code.

      I think you should consider writing a generic custom adapter module to the read size of gzip content

      Best Regards,

      Praveen Gujjeti

      Author's profile photo Muniyappan Marasamy
      Muniyappan Marasamy

      Thanks Praveen.

      Author's profile photo Former Member
      Former Member

      That's interesting. Has anybody successfully used this with the REST adapter (in 7.5)?  So far I wasn't successful with that.

      Author's profile photo Abdulmajeed Almousa
      Abdulmajeed Almousa

      Hi Praveen,

      I have a similar requirement, but I need to unzip the gzip file.

      Can you please suggest the parameter for the same.

       

      Thanks