public static interface ExecEndpointBuilderFactory.ExecBuilders
| Modifier and Type | Method and Description |
|---|---|
default ExecEndpointBuilderFactory.ExecEndpointBuilder |
exec(String path)
Exec (camel-exec)
Execute commands on the underlying operating system.
|
default ExecEndpointBuilderFactory.ExecEndpointBuilder |
exec(String componentName,
String path)
Exec (camel-exec)
Execute commands on the underlying operating system.
|
default ExecEndpointBuilderFactory.ExecEndpointBuilder exec(String path)
exec:executable
Path parameter: executable (required)
Sets the executable to be executed. The executable must not be empty
or null.path - executabledefault ExecEndpointBuilderFactory.ExecEndpointBuilder exec(String componentName, String path)
exec:executable
Path parameter: executable (required)
Sets the executable to be executed. The executable must not be empty
or null.componentName - to use a custom component name for the endpoint
instead of the default namepath - executableApache Camel