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/29 09:19:15 UTC

[camel-kamelets] 02/03: Adding JSON as input media type

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

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

commit fb3d366f7272ddbfbdc05a464f268961a1cfe8aa
Author: Maria Arias de Reyna <ar...@redhat.com>
AuthorDate: Thu Apr 29 11:03:31 2021 +0200

    Adding JSON as input media type
---
 elasticsearch-index-sink.kamelet.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elasticsearch-index-sink.kamelet.yaml b/elasticsearch-index-sink.kamelet.yaml
index 2307971..006f1e0 100755
--- a/elasticsearch-index-sink.kamelet.yaml
+++ b/elasticsearch-index-sink.kamelet.yaml
@@ -59,6 +59,8 @@ spec:
   types:
     out:
       mediaType: application/json
+    in:
+      mediaType: application/json
   flow:
     from:
       uri: kamelet:source