cancel
Showing results for 
Search instead for 
Did you mean: 

multiple files contained in the zip file

anurag_sinha3
Participant
0 Kudos

Hi,

I have a scenario where multiple files contained in one zip file and i have to unzip those file and create that number of xml message(using PI7.3). As payloadzip bean cant be used because it only unzip the first fille

can some one please provide me the java code to find the solution

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Anurag

Use OS command before processing to run a batch file which unzip all the file in the folder and configure your communication channel such as it reads all the files with delete mode.

Regards

Raj

anurag_sinha3
Participant
0 Kudos

Thanks Raj,

Due to some reason it was rejected and we have only one option to develop a custom Java adapter module which will convert the the files into one message.

Former Member
0 Kudos

Hi Anurag,

Can you please share you rmodule code to unzip because we had similar requirement? appreciate your help.