You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2021/04/20 13:45:31 UTC

[camel-kamelets] 06/06: Added Exec Sink Kamelet

This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 64094ad7b58b9e9d34adcedeb25a4a0555a940b2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Apr 20 14:57:57 2021 +0200

    Added Exec Sink Kamelet
---
 docs/modules/ROOT/pages/exec-sink.adoc | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/docs/modules/ROOT/pages/exec-sink.adoc b/docs/modules/ROOT/pages/exec-sink.adoc
index 68531da..0b7defa 100644
--- a/docs/modules/ROOT/pages/exec-sink.adoc
+++ b/docs/modules/ROOT/pages/exec-sink.adoc
@@ -5,13 +5,18 @@
 
 Execute system commands
 
+The Kamelet expects the following headers to be set:
+
+- `args/ `ce-args`: as the args to be set on the executable.
+
+If the header won't be set the executable will be run without arguments.
+
 == Configuration Options
 
 The following table summarizes the configuration options available for the `exec-sink` Kamelet:
 [width="100%",cols="2,^2,3,^2,^2,^3",options="header"]
 |===
 | Property| Name| Description| Type| Default| Example
-| *args {empty}* *| The arguments| Arguments to pass to the executables| string| | 
 | *executable {empty}* *| Executable command| The command to execute| string| | 
 |===
 
@@ -44,7 +49,6 @@ spec:
       apiVersion: camel.apache.org/v1alpha1
       name: exec-sink
     properties:
-      args: "The The arguments"
       executable: "The Executable command"
 
 ----