Skip to Content
avatar image
Former Member

File Adapter Module PayloadZipBean

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 06, 2010 at 09:19 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 06, 2010 at 08:53 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded