IntergastPostExecutor
Configuration file |
sample_IntergastPostExecutor.properties |
Class name |
com.ebd.hub.datawizard.postexec.IntergastPostExecutor |
Description
Creates a ZIP archive with several Intergast message files from one aggregate Intergast message created in a profile. The postexecuter expects a message in fixed-length record format, in which the line prefixes determine the destination message file of the line content. These prefixes are configured in a properties file. If the content of a line with prefix 002 is supposed to be written into a message file LIEFINFO_…, the following entry has to be included in the configuration file:
002 = LIEFINFO |
Note: All occurring prefixes in the aggregate message file have to be defined in the configuration file. Furthermore, the parameter common has to be included. This parameter defines the general part of the file name for all message files. Placeholders and variables are allowed. The entry
commom = _<yyyy><MM><dd>_@var__Index@.txt |
in combination with the prefix "002" creates the following message file name in the ZIP archive:
LIEFINFO_20150416_145.txt |
(Variable "var__Index" has to be defined in the profile and contain value "145".)
Example
#
# Config file for postexecutor
#
# Define prefix = file name
#
001 = PREISSWARENOGR
002 = LIEFINFO
#
# Define common part of file name (will be concated)
#
common = _88591_<yyyy><MM><dd>_@var_Index@.txt