cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter Module PayloadZipBean

Former Member
0 Kudos

Need to Unzip with multiple files of payload and zip while writing into the target.

Zip file picked and read only the first payload, Which will be the standard case using this module. But my request here is, if there is any alternative to read multiple of payloads at the same time. Rather place 5 files, the vendor sending as zipped one's. The Adapter reads as one payload, but it's not processing as expected. Kinda of MultiMap. But we have 50 different interfaces one of them processing certain file based conditions.

Please advice, if there is an alternate method with out going the custom module route. Or a built in future which i am not looking at

Appreciated

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try executing the OS commands in the communication channels to unzip and zip the files before/after the message processing.

Answers (1)

Answers (1)

Former Member
0 Kudos

You can try and executing an OS command that unzips the file to a specific directory prior to the PI processing. Remove the ZIP file after unzipping. A second file communication channel can then pick up the files from the second directory.

Perhaps not a pretty soluction, but it'll work.