BackupResponse

Group

Custom Classes Phase 6

Class Name

com.ebd.hub.datawizard.util.BackupResponse

Function

This class is used for long-term archiving.

Configuration File

None

Description

This class can be used for long-term archiving. It creates a ZIP file containing the source data, the destination data (as set in the Combo-Box) and the log entries of the job until the execution of this class.

The field Additional parameters expects the path of the destination file, which should contain a variable component for the next job not to overwrite the file. The suffix .zip will be appended, if appropriate.

The class BackupResponse should be the last of the response routes, otherwise, all the log entries of following response routes will not be in the archive.

The generated zip archive consists of a folder, whose name is the job number, containing the files output.txt, logs.txt and the source file with its original name.

An MDN (end-to-end acknowledgements) should be sent synchronously and preceding response routes should not be run in a separate thread, otherwise, the backup information will be incomplete at the runtime of the BackupResponse class.