Message headers - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

The supported headers are defined in org.apache.camel.component.exec.ExecBinding .

Name

Message

Description

ExecBinding. EXEC_COMMAND_EXECUTABLE

in

The name of the system command that will be executed. Overrides the executable in the URI.

Type: String

ExecBinding.EXEC_COMMAND_ARGS

in

The arguments of the executable. The arguments are used literally, no quoting is applied. Overrides existing args in the URI.

Type: java.util.List<String>

ExecBinding.EXEC_COMMAND_ARGS

in

The arguments of the executable as a single string where each argument is whitespace separated (see args in URI option). The arguments are used literally, no quoting is applied. Overrides existing args in the URI.

Type: String

ExecBinding. EXEC_COMMAND_OUT_FILE

in

The name of a file, created by the executable, that should be considered as output of the executable. Overrides existing outFile in the URI.

Type: String

ExecBinding. EXEC_COMMAND_TIMEOUT

in

The timeout, in milliseconds, after which the executable should be terminated. Overrides existing timeout in the URI.

Type: long

ExecBinding. EXEC_COMMAND_WORKING_DIR

in

The directory in which the command should be executed. Overrides existing workingDir in the URI.

Type: String

ExecBinding.EXEC_EXIT_VALUE

out

The value of this header is the exit value of the executable. Non-zero exit values typically indicate abnormal termination. Note that the exit value is OS-dependent.

Type: int

ExecBinding.EXEC_STDERR

out

The value of this header points to the standard error stream (stderr) of the executable. If no stderr is written, the value is null.

Type: java.io.InputStream

ExecBinding. EXEC_USE_STDERR_ON_EMPTY_STDOUT

in

Indicates when the stdin is empty, should we fallback and use stderr as the body of the Camel message. By default this option is false.

Type: boolean