diff --git a/kamelets/mail-imap-source.kamelet.yaml b/kamelets/mail-imap-source.kamelet.yaml index 768ba1292..72c4c683c 100644 --- a/kamelets/mail-imap-source.kamelet.yaml +++ b/kamelets/mail-imap-source.kamelet.yaml @@ -109,6 +109,6 @@ spec: - setHeader: name: "ce-cc" simple: "${header.Cc}" - - convert-body-to: + - convertBodyTo: type: "java.lang.String" - to: "kamelet:sink" diff --git a/library/camel-kamelets/src/main/resources/kamelets/mail-imap-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mail-imap-source.kamelet.yaml index 768ba1292..72c4c683c 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/mail-imap-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/mail-imap-source.kamelet.yaml @@ -109,6 +109,6 @@ spec: - setHeader: name: "ce-cc" simple: "${header.Cc}" - - convert-body-to: + - convertBodyTo: type: "java.lang.String" - to: "kamelet:sink"