Situation: My zip file contains about 200 xml files, and I want to be able to pull all of them without specifying the name of each file in the process flow decompression. Is there a wild card I can use to specify to pull all files in the zip?
Solution: This plugin would decompress zip file which contains many files. Place this custom plugin activity after FileSource activity in the process flow and select below options in the properties of custom plugin activity in process flow :
1. Consume Stream : true.
2. Generate Stream : false.
Specify target location where you want your decompressed files in the below line of attached custom plugin:
out = new FileOutputStream("<path of target location >"+ze.getName());
out = new FileOutputStream("c:\\DecompressedFiles\\"+ze.getName());