Skip to main content
Version: 5.1.1.0

Zip to messagelist

Description

This scriptlet reads the content of the given binary message as zip archive. The entries within the archive are added as messages to the returned messagelist. Normally, binary messages are created for all of the zip entries. When the user tells the scriptlet to infer structured messages, for a xml-entry a structured message is created.

For every message added to the message list the following properties are set:

**FILENAME** Name of the zip entry

**COMMENT** Comment of the zip entry

**SIZE** original size in bytes

**TIME** archivetime of the zip entry

**SOURCE** The message identifier

Create

See creation of Scriptlet.

Configuration

Properties and Parameter assignment

The assignment sections define the assignment of variables between the script and the process model.

The following parameters are available:

**Ingoing parameters**:

- **MSG**: Binary message that contains the zip archive.
- **MASSDATA**: Defines whether the created messages should use mass data mode (`true`) or not (`false`).
- **INFERSTRUCT**: Defines if structured messages should be inferred from the file extension (`true`) or not (`false`). If `false`, only binary messages are created.

**Outgoing parameters**:

- **MSGLIST**: message list that contains all entries of the zip file.