BackupResponse
Configuration file |
None. Configuration is done directly with a string in field "Additional parameters". |
Class name |
com.ebd.hub.datawizard.util.BackupResponse |
Description
This class can be used for long-term archiving. It creates a ZIP file containing the source data, the target 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 target 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 Responses, otherwise, all the log entries of following Responses 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. If the input file did not have a name, it is given the name “imput.txt”.
An MDN (end-to-end acknowledgements) should be sent synchronously and preceding Responses should not be run in a separate thread, otherwise, the backup information will be incomplete at the runtime of the BackupResponse class.