Archives
Use the IBM® App Connect Enterprise Toolkit to configure message flow nodes that are converted from the IBM App Connect Professional Archives activities.
About this task
When you import an orchestration that contains Archives activities, the conversion utility creates a message flow with the JavaCompute node. See Table 1, for more information on which activities this node is used for.
Steps are split into sections and are intentionally brief to get you started quickly on configuring the nodes in your message flow. See linked topics in the table for more comprehensive information on configuring the nodes.
| IBM App Connect Professional activity | IBM App Connect Enterprise node |
|---|---|
| Archive activity | |
| Unarchive activity |
JavaCompute node for Archive and Unarchive activities
About this task
Use the JavaCompute node to compress and decompress message data using different formats, for example ZIP and GZIP.
Procedure
JavaCompute node functionality for Archive and Unarchive activities:
- Compresses/decompresses the message content by using specified archive formats such as ZIP or GZIP.
- Supports handling of multiple files in formats: ZIP or a single file in GZIP.
- Extracts the content and adds it to the message tree for further processing.
- ZIP: Supports file names with directory structures.
- GZIP: Handles single files.
- TAR or TAR+GZIP: Requires third-party libraries like Apache Commons Compress.
- fileName and fileContent - can be hardcoded or dynamically retrieved from the environment, XML, or JSON.
- Archive - The compressed archive is Base64-encoded and added to the message tree before propagation.
- Unarchive - The decompressed content is added to the message tree for propagation.