used to compresses the byte array using gzip where as Gzip un-compress is used to un-compresses the byte array using gzip. There is often requirement that we need to compress the message payload and un-compress the message payload at the end of the operations. Mulesoft provided out-of-box Gzip compress and un- compress to achieve this.
Message Source in the flow and configure it. Now, you need to convert message into byte array. So, place the String To Byte Array transformer in message processor region after inbound file connector. Place the Gzip compress transformer after String To Byte Array transformer.
you have specified in inbound file connector and outbound compress file can be seen at folder location that you have specified for outbound file connector.
you have specified in inbound file connector and outbound un-compress file can be seen at folder location that you have specified for outbound file connector.