Read Zip file in Mule 4


Let’s see how we can Read zip file in Mule 4. We will read the same zip file what we write in earlier post.

Create a project and add the listener.

Read Zip file in Mule 4


Add a compression module in mule pallet – please see on how we can add the module

Read Zip file in Mule 4


Add Read activity in flow to read the zip file

Read Zip file in Mule 4


Add the extract activity to read the zip file which we have read in earlier activity


Add the transformation to see the content

%dw 2.0
output application/json
payload mapObject {
  fileName: '$$',
  fileContent: $


response message


Run the application


We can see the zip file which is read


Extract content


Sample MuleSoft Application – compression-services-read-zip

Sample SOAP UI project – compression-services-soapui-project-read-zip

Thank you for taking out time to read the above post. Hope you found it useful. In case of any questions, feel free to comment below. Also, if you are keen on knowing about a specific topic, happy to explore your recommendations as well.
For any latest updates or posts on our website, you can follow us on LinkedIn. Look forward to connecting with you there.

Share this:
Notify of
Inline Feedbacks
View all comments