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

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

commit 16ebf9c65cf6c6efa5a65962c569bc09906bb81d
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon May 3 07:43:58 2021 +0200

    Added Insert Header action
---
 insert-header-action.kamelet.yaml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/insert-header-action.kamelet.yaml 
b/insert-header-action.kamelet.yaml
new file mode 100644
index 0000000..51b77b1
--- /dev/null
+++ b/insert-header-action.kamelet.yaml
@@ -0,0 +1,33 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+  name: insert-header-action
+  labels:
+    camel.apache.org/kamelet.type: "action"
+  annotations:
+    camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG
 [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+spec:
+  definition:
+    title: "Insert Header"
+    description: "Adds an header with a constant value to the message in 
transit"
+    required:
+      - name
+      - value
+    properties:
+      name:
+        title: Name
+        description: The name of the header to be added
+        type: string
+      value:
+        title: Value
+        description: The value of the header
+        type: string
+    type: object
+  flow:
+    from:
+      uri: kamelet:source
+      steps:
+      - set-header:
+          name: "{{name}}"
+          constant: "{{value}}"

Reply via email to