C D E G I N O P Q R S T W

C

convertTo(Class<T>, Exchange, ExecResult) - Static method in class org.apache.camel.component.exec.ExecResultConverter
Converts ExecResult to the type T.
convertToByteArray(ExecResult, Exchange) - Static method in class org.apache.camel.component.exec.ExecResultConverter
 
convertToDocument(ExecResult, Exchange) - Static method in class org.apache.camel.component.exec.ExecResultConverter
 
convertToInputStream(ExecResult) - Static method in class org.apache.camel.component.exec.ExecResultConverter
 
convertToString(ExecResult, Exchange) - Static method in class org.apache.camel.component.exec.ExecResultConverter
 
createConsumer(Processor) - Method in class org.apache.camel.component.exec.ExecEndpoint
 
createEndpoint(String, String, Map<String, Object>) - Method in class org.apache.camel.component.exec.ExecComponent
 
createProducer() - Method in class org.apache.camel.component.exec.ExecEndpoint
 

D

DefaultExecBinding - Class in org.apache.camel.component.exec.impl
Default implementation of ExecBinding.
DefaultExecBinding() - Constructor for class org.apache.camel.component.exec.impl.DefaultExecBinding
 
DefaultExecCommandExecutor - Class in org.apache.camel.component.exec.impl
Executes the command utilizing the Apache Commons exec library.
DefaultExecCommandExecutor() - Constructor for class org.apache.camel.component.exec.impl.DefaultExecCommandExecutor
 

E

EXEC_COMMAND_ARGS - Static variable in interface org.apache.camel.component.exec.ExecBinding
The header value overrides the existing command arguments in the ExecEndpoint URI.
EXEC_COMMAND_EXECUTABLE - Static variable in interface org.apache.camel.component.exec.ExecBinding
The header value overrides the executable of the command, configured in the exec endpoint URI.
EXEC_COMMAND_OUT_FILE - Static variable in interface org.apache.camel.component.exec.ExecBinding
Specifies the file name of a file, created by the executable, that should be considered as output of the executable, e.g.
EXEC_COMMAND_TIMEOUT - Static variable in interface org.apache.camel.component.exec.ExecBinding
Specifies the amount of time, in milliseconds, after which the process of the executable should be terminated.
EXEC_COMMAND_WORKING_DIR - Static variable in interface org.apache.camel.component.exec.ExecBinding
Sets the working directory of the ExecBinding.EXEC_COMMAND_EXECUTABLE.
EXEC_EXIT_VALUE - Static variable in interface org.apache.camel.component.exec.ExecBinding
The value of this header is the exit value that is returned, after the execution.
EXEC_STDERR - Static variable in interface org.apache.camel.component.exec.ExecBinding
The value of this header is a InputStream with the standard error stream of the executable.
EXEC_USE_STDERR_ON_EMPTY_STDOUT - Static variable in interface org.apache.camel.component.exec.ExecBinding
The value of this header is a boolean which indicates whether or not to fallback and use stderr when stdout is empty.
ExecBinding - Interface in org.apache.camel.component.exec
Represents the binding of input and output types of a ExecCommandExecutor to an Exchange.
ExecCommand - Class in org.apache.camel.component.exec
Value object that describes the command to be executed.
ExecCommand(String, List<String>, String, Long, InputStream, File, boolean) - Constructor for class org.apache.camel.component.exec.ExecCommand
 
ExecCommandExecutor - Interface in org.apache.camel.component.exec
Executes ExecCommand instances.
ExecComponent - Class in org.apache.camel.component.exec
Represents the component that manages ExecEndpoint.
ExecComponent() - Constructor for class org.apache.camel.component.exec.ExecComponent
 
ExecEndpoint - Class in org.apache.camel.component.exec
The endpoint utilizes an ExecCommandExecutor to execute a system command when it receives message exchanges.
ExecEndpoint(String, ExecComponent) - Constructor for class org.apache.camel.component.exec.ExecEndpoint
 
ExecException - Exception in org.apache.camel.component.exec
Exception thrown when there is an execution failure.
ExecException() - Constructor for exception org.apache.camel.component.exec.ExecException
 
ExecException(String) - Constructor for exception org.apache.camel.component.exec.ExecException
 
ExecException(String, Throwable) - Constructor for exception org.apache.camel.component.exec.ExecException
 
ExecException(Throwable) - Constructor for exception org.apache.camel.component.exec.ExecException
 
ExecParseUtils - Class in org.apache.camel.component.exec.impl
Utility class for parsing, used by the Camel Exec component.
Note: the class should be dropped, when the the commons-exec library implements similar functionality.
ExecProducer - Class in org.apache.camel.component.exec
Exec producer.
ExecProducer(ExecEndpoint) - Constructor for class org.apache.camel.component.exec.ExecProducer
 
ExecResult - Class in org.apache.camel.component.exec
Value object, that represents the result of an ExecCommand execution.
ExecResult(ExecCommand, InputStream, InputStream, int) - Constructor for class org.apache.camel.component.exec.ExecResult
Creates a ExecResult instance.
ExecResultConverter - Class in org.apache.camel.component.exec
Default converters for ExecResult.
execute(ExecCommand) - Method in interface org.apache.camel.component.exec.ExecCommandExecutor
Executes the command and returns a not-null ExecResult instance.
execute(ExecCommand) - Method in class org.apache.camel.component.exec.impl.DefaultExecCommandExecutor
 

G

getAndRemoveHeader(Message, String, T, Class<T>) - Method in class org.apache.camel.component.exec.impl.DefaultExecBinding
Gets and removes the headerName header form the input message (the header will not be propagated)
getArgs() - Method in class org.apache.camel.component.exec.ExecCommand
 
getArgs() - Method in class org.apache.camel.component.exec.ExecEndpoint
The arguments may be one or many whitespace-separated tokens, that can be quoted with ", e.g.
getBinding() - Method in class org.apache.camel.component.exec.ExecEndpoint
 
getCommand() - Method in class org.apache.camel.component.exec.ExecResult
The executed command, that produced this result.
getCommandExecutor() - Method in class org.apache.camel.component.exec.ExecEndpoint
 
getExecutable() - Method in class org.apache.camel.component.exec.ExecCommand
 
getExecutable() - Method in class org.apache.camel.component.exec.ExecEndpoint
 
getExitValue() - Method in class org.apache.camel.component.exec.ExecResult
The exit value of the command executable.
getInput() - Method in class org.apache.camel.component.exec.ExecCommand
 
getOutFile() - Method in class org.apache.camel.component.exec.ExecCommand
 
getOutFile() - Method in class org.apache.camel.component.exec.ExecEndpoint
 
getStderr() - Method in class org.apache.camel.component.exec.ExecResult
Returns the content of the standart error output (stderr) of the executed command or null, if no output was produced in the stderr.
getStdout() - Method in class org.apache.camel.component.exec.ExecResult
Returns the content of the standart output (stdout) of the executed command or null, if no output was produced in the stdout.
getTimeout() - Method in class org.apache.camel.component.exec.ExecCommand
 
getTimeout() - Method in class org.apache.camel.component.exec.ExecEndpoint
 
getWorkingDir() - Method in class org.apache.camel.component.exec.ExecCommand
 
getWorkingDir() - Method in class org.apache.camel.component.exec.ExecEndpoint
 

I

isDoubleQuoted(String) - Static method in class org.apache.camel.component.exec.impl.ExecParseUtils
Tests if the input is enclosed within a double-ExecParseUtils.QUOTE_CHAR string
isSingleQuoted(String) - Static method in class org.apache.camel.component.exec.impl.ExecParseUtils
Tests if the input is enclosed within ExecParseUtils.QUOTE_CHAR characters
isSingleton() - Method in class org.apache.camel.component.exec.ExecEndpoint
 
isUseStderrOnEmptyStdout() - Method in class org.apache.camel.component.exec.ExecCommand
 
isUseStderrOnEmptyStdout() - Method in class org.apache.camel.component.exec.ExecEndpoint
 

N

NO_TIMEOUT - Static variable in class org.apache.camel.component.exec.ExecEndpoint
Indicates that no ExecEndpoint.timeout is used.

O

org.apache.camel.component.exec - package org.apache.camel.component.exec
 
org.apache.camel.component.exec.impl - package org.apache.camel.component.exec.impl
 

P

prepareDefaultExecutor(ExecCommand) - Method in class org.apache.camel.component.exec.impl.DefaultExecCommandExecutor
 
process(Exchange) - Method in class org.apache.camel.component.exec.ExecProducer
 

Q

QUOTE_CHAR - Static variable in class org.apache.camel.component.exec.impl.ExecParseUtils
 

R

readInput(Exchange, ExecEndpoint) - Method in interface org.apache.camel.component.exec.ExecBinding
Creates a ExecCommand from the headers in the exchange and the settings of the endpoint.
readInput(Exchange, ExecEndpoint) - Method in class org.apache.camel.component.exec.impl.DefaultExecBinding
 

S

setArgs(String) - Method in class org.apache.camel.component.exec.ExecEndpoint
Sets the arguments of the executable application
setBinding(ExecBinding) - Method in class org.apache.camel.component.exec.ExecEndpoint
 
setCommandExecutor(ExecCommandExecutor) - Method in class org.apache.camel.component.exec.ExecEndpoint
Sets a custom executor to execute commands.
setExecutable(String) - Method in class org.apache.camel.component.exec.ExecEndpoint
Sets the executable to be executed.
setOutFile(String) - Method in class org.apache.camel.component.exec.ExecEndpoint
 
setTimeout(long) - Method in class org.apache.camel.component.exec.ExecEndpoint
Sets the timeout.
setUseStderrOnEmptyStdout(boolean) - Method in class org.apache.camel.component.exec.ExecEndpoint
 
setWorkingDir(String) - Method in class org.apache.camel.component.exec.ExecEndpoint
Sets the working directory of the executable.
splitToWhiteSpaceSeparatedTokens(String) - Static method in class org.apache.camel.component.exec.impl.ExecParseUtils
Splits the input line string by ExecParseUtils.WHITESPACE.

T

toCommandLine(ExecCommand) - Method in class org.apache.camel.component.exec.impl.DefaultExecCommandExecutor
Transforms an ExecCommand to a CommandLine.
toInputStream(ExecResult) - Static method in class org.apache.camel.component.exec.ExecResultConverter
Returns InputStream object with the output of the executable.
toString() - Method in class org.apache.camel.component.exec.ExecCommand
 

W

WHITESPACE - Static variable in class org.apache.camel.component.exec.impl.ExecParseUtils
 
writeOutput(Exchange, ExecResult) - Method in interface org.apache.camel.component.exec.ExecBinding
Populates the exchange form the ExecResult.
writeOutput(Exchange, ExecResult) - Method in class org.apache.camel.component.exec.impl.DefaultExecBinding
 
writeOutputInMessage(Message, ExecResult) - Method in class org.apache.camel.component.exec.impl.DefaultExecBinding
Write the ExecResult in the message body.

C D E G I N O P Q R S T W

Apache CAMEL