PreParserPostExecuter

Configuration file

None. Configuration is done directly with a string in field "Config file".

Class name

com.ebd.hub.datawizard.postexec.PreParserPostExecuter

Description


This postexecuter allows you to invoke any preparser in the Response, respectively in phase 5 after the execution of the Integration Unit. This has nothing to do with parsing. The preparser class is only executed as a postexecution class on the output format.

Parameters


Please only use the PPP configuration for preparsers for newer profiles. In that case, the path to the ".ppp" file has to be set in field "Config file".

For the older configuration method, the complete class name of the preparser has to be set. If the preparser needs a configuration file, the path to it (relative or absolute) has to be set in the field Config file, separated by space, =, tab, ; or ,.

Variables can also be used in the configuration parameters.

Important note: The call with a PPP file is only possible if the preparser expects a file path as parameter or if it does not expect a parameter. If the preparser expects a text or numerical value, the old configuration method is still available.

Example for old configuration method


To execute the preparser EncodingPatcher with an additional configuration file, the field Config file has to contain a parameter string like the following.


com.ebd.hub.datawizard.parser.stream.EncodingPatcher=./conf/EncodingPatcher/customer_1.properties


Example for new configuration method


If a PPP configuration file is used.


./conf/ppp/EncodingPatcher/customer_1.ppp



customer_1.ppp
preparser.class=com.ebd.hub.datawizard.parser.stream.EncodingPatcher
# \r\n -> remove it
0x0D0A=

Temporary file of the postexecuter


A postexecuter receives a temporary file, which contains the target data of the Response. The absolute path of the temporary file and the file name are passed to the preparser as additional variables, without having to be defined in the profile.


VAR_SYS_TEMP_FILE_PATH

The absolute path of the temporary file.

VAR_SYS_TEMP_FILE_NAME

The file name of the temporary file.


Within the preparser configuration file, these two variables are resolved just like defined variables. The assignment of these variables can be skipped with the following property.


temp.vars=false