PreParserPostExecuter

Group

Postexecution

Class Name

com.ebd.hub.datawizard.postexec.PreParserPostExecuter

Function

The PreParserPostExecuter is able to invoke any preparser in the response route.

Description


The PreParserPostExecuter allows you to invoke any preparser in the response route, respectively in phase 5 after the execution of the Integration Unit. Here are all the available preparsers.

Description of 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 Route. 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