args
|
null
|
The arguments of the executable- they may be one or many
whitespace-separated tokens, that can be quoted with " , for
example, args="arg 1" arg2 will use two arguments arg
1 and arg2 . To include the quotes, enclose them in another
set of quotes; for example, args=""arg 1"" arg2 will use the
arguments "arg 1" and arg2 .
|
workingDir
|
null
|
The directory in which the command should be executed. If
null , the working directory of the current process will be used.
|
timeout
|
Long.MAX_VALUE
|
The timeout, in milliseconds, after which the executable should be
terminated. If execution has not completed within this period, the component
will send a termination request.
|
outFile
|
null
|
The name of a file, created by the executable, that should be considered as
output of the executable. If no outFile is set, the standard output
(stdout) of the executable will be used instead.
|
binding
|
a DefaultExecBinding instance
|
A reference to an org.apache.commons. exec.ExecBinding in the
Registry .
|
commandExecutor
|
a DefaultCommand-Executor instance
|
A reference to an org.apache.commons. exec.ExecCommandExecutor
in the Registry,
that customizes the command execution. The default command executor utilizes the
commons-exec
library. which adds a shutdown hook for every executed command.
|
useStderrOnEmpty-Stdout
|
false
|
A boolean which dictates when stdin is empty, it should
fallback and use stderr in the Camel Message Body. This option is
default false .
|