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

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


The following commit(s) were added to refs/heads/main by this push:
     new 8725c6ac1 chore: default data types on the SaaS Kamelets (#3117) 
(#3305)
8725c6ac1 is described below

commit 8725c6ac1a4c20ae0126d150fd2f96992e752e21
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 20 21:33:48 2026 +0100

    chore: default data types on the SaaS Kamelets (#3117) (#3305)
    
    * chore: default data types on the SaaS Kamelets (#3117)
    
    Batch 6 of #3117. A default data type runs its transformer on every
    message, so each one changes the body class or the Content-Type:
    
    - jira-source, jira-oauth-source, telegram-source, salesforce-source:
      out json. The JSON text is in a byte[] instead of a stream;
      Content-Type stays application/json.
    - snmp-source: out text (D1). Sets Content-Type text/plain.
    - jira-add-comment-sink, jira-add-issue-sink, jira-transition-issue-sink,
      jira-update-issue-sink, slack-sink: in text. Bytes or a stream are read
      as a String; Content-Type text/plain stays after the sink.
    - salesforce-create-sink, salesforce-update-sink, salesforce-delete-sink,
      salesforce-composite-upsert-sink: in json. The body becomes JSON bytes;
      Content-Type application/json stays after the sink. camel:jackson3 is
      added to the create and delete sinks.
    
    The Output paragraphs say the body class and the Content-Type.
    
    Citrus: the jira-source, jira-add-* and slack-sink routes record the body
    class and Content-Type; the jira and slack sink routes send bytes; new
    tests for salesforce-create-sink, salesforce-update-sink and
    salesforce-delete-sink. The source tests need CAMEL-27258 (Camel main).
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_016Y4dDmBDsSWV117kccuNf9
    
    * chore: no default data type on slack-sink (#3117)
    
    The Slack component posts a Slack Message or SlackMessage body with its
    blocks and attachments; a `text` default would turn it into its
    toString(). A YAML comment gives the reason. The Input paragraph says a
    Message object is accepted, the Output paragraph is back to "the message
    is unchanged", and the slack-sink Citrus test expects the bytes it sends.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_016Y4dDmBDsSWV117kccuNf9
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
---
 .../camel-kamelets-catalog-sbom.json               |  4 +-
 kamelets/jira-add-comment-sink.kamelet.yaml        |  8 ++-
 kamelets/jira-add-issue-sink.kamelet.yaml          |  8 ++-
 kamelets/jira-oauth-source.kamelet.yaml            | 10 ++-
 kamelets/jira-source.kamelet.yaml                  | 10 ++-
 kamelets/jira-transition-issue-sink.kamelet.yaml   |  8 ++-
 kamelets/jira-update-issue-sink.kamelet.yaml       |  8 ++-
 .../salesforce-composite-upsert-sink.kamelet.yaml  | 10 ++-
 kamelets/salesforce-create-sink.kamelet.yaml       | 11 +++-
 kamelets/salesforce-delete-sink.kamelet.yaml       | 11 +++-
 kamelets/salesforce-source.kamelet.yaml            |  8 ++-
 kamelets/salesforce-update-sink.kamelet.yaml       |  8 +++
 kamelets/slack-sink.kamelet.yaml                   |  6 +-
 kamelets/snmp-source.kamelet.yaml                  |  8 ++-
 kamelets/telegram-source.kamelet.yaml              |  8 ++-
 .../main/resources/META-INF/kamelets-index.json    | 26 ++++----
 .../kamelets/jira-add-comment-sink.kamelet.yaml    |  8 ++-
 .../kamelets/jira-add-issue-sink.kamelet.yaml      |  8 ++-
 .../kamelets/jira-oauth-source.kamelet.yaml        | 10 ++-
 .../resources/kamelets/jira-source.kamelet.yaml    | 10 ++-
 .../jira-transition-issue-sink.kamelet.yaml        |  8 ++-
 .../kamelets/jira-update-issue-sink.kamelet.yaml   |  8 ++-
 .../salesforce-composite-upsert-sink.kamelet.yaml  | 10 ++-
 .../kamelets/salesforce-create-sink.kamelet.yaml   | 11 +++-
 .../kamelets/salesforce-delete-sink.kamelet.yaml   | 11 +++-
 .../kamelets/salesforce-source.kamelet.yaml        |  8 ++-
 .../kamelets/salesforce-update-sink.kamelet.yaml   |  8 +++
 .../resources/kamelets/slack-sink.kamelet.yaml     |  6 +-
 .../resources/kamelets/snmp-source.kamelet.yaml    |  8 ++-
 .../kamelets/telegram-source.kamelet.yaml          |  8 ++-
 .../jira-add-comment-sink-route.citrus.it.yaml     | 22 +++++++
 .../jira/jira-add-comment-sink-route.yaml          | 12 ++++
 .../jira/jira-add-issue-sink-route.citrus.it.yaml  | 77 ++++++++++++++++++++++
 .../resources/jira/jira-add-issue-sink-route.yaml  | 15 +++++
 .../jira/jira-oauth-source-route.citrus.it.yaml    |  4 +-
 .../jira/jira-source-route.citrus.it.yaml          | 25 +++++++
 .../src/test/resources/jira/jira-source-route.yaml |  9 +++
 ...jira-transition-issue-sink-route.citrus.it.yaml |  4 +-
 .../jira/jira-transition-issue-sink-route.yaml     |  3 +
 .../jira-update-issue-sink-route.citrus.it.yaml    |  4 +-
 .../jira/jira-update-issue-sink-route.yaml         |  3 +
 ...orce-composite-upsert-sink-route.citrus.it.yaml |  2 +-
 ...=> salesforce-create-sink-route.citrus.it.yaml} | 30 ++++-----
 .../salesforce-create-sink-route.yaml}             | 27 ++++----
 ...=> salesforce-delete-sink-route.citrus.it.yaml} | 36 ++++------
 .../salesforce-delete-sink-route.yaml}             | 30 ++++-----
 ...=> salesforce-update-sink-route.citrus.it.yaml} | 29 ++++----
 .../salesforce-update-sink-route.yaml}             | 26 +++-----
 .../slack/slack-sink-route.citrus.it.yaml          | 23 +++++++
 .../src/test/resources/slack/slack-sink-route.yaml | 13 ++++
 .../snmp/snmp-source-route.citrus.it.yaml          |  2 +-
 .../telegram/telegram-source-route.citrus.it.yaml  |  4 +-
 52 files changed, 516 insertions(+), 158 deletions(-)

diff --git a/camel-kamelets-sbom/camel-kamelets-catalog-sbom.json 
b/camel-kamelets-sbom/camel-kamelets-catalog-sbom.json
index 6467dec9a..0984947bc 100644
--- a/camel-kamelets-sbom/camel-kamelets-catalog-sbom.json
+++ b/camel-kamelets-sbom/camel-kamelets-catalog-sbom.json
@@ -2843,10 +2843,10 @@
     "dependsOn" : [ 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]" ]
   }, {
     "ref" : "kamelet:salesforce-create-sink",
-    "dependsOn" : [ 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]" ]
+    "dependsOn" : [ 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]" ]
   }, {
     "ref" : "kamelet:salesforce-delete-sink",
-    "dependsOn" : [ 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]" ]
+    "dependsOn" : [ 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]" ]
   }, {
     "ref" : "kamelet:salesforce-pubsub-source",
     "dependsOn" : [ 
"pkg:maven/org.apache.camel/[email protected]", 
"pkg:maven/org.apache.camel/[email protected]" ]
diff --git a/kamelets/jira-add-comment-sink.kamelet.yaml 
b/kamelets/jira-add-comment-sink.kamelet.yaml
index bdf29c48c..d36b8132f 100644
--- a/kamelets/jira-add-comment-sink.kamelet.yaml
+++ b/kamelets/jira-add-comment-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
 
       Input: the body is the text of the comment, as text. The `ce-issueKey` 
header, the key of the issue such as `SHOP-42`, is required. Set it before this 
sink, for example with `insert-header-action`.
 
-      Output: the message is unchanged.
+      Output: the body afterwards is the text of the comment, as text, and the 
`Content-Type` header is `text/plain`.
 
       Good to know: a message without `ce-issueKey`, or for an issue that does 
not exist or that the user cannot see, fails. The comment is written in the 
name of the account the Kamelet logs in with. Log in either with `username` and 
`password`, or with `personal-token`. Headers that start with `CamelJira` are 
removed from the message first, so they cannot change what the Kamelet does.
 
@@ -76,11 +76,17 @@ spec:
       mediaType: application/json
   dataTypes:
     in:
+      default: text
       headers:
         ce-issueKey:
           title: Issue Key
           description: The key of the issue to comment on, such as `SHOP-42`. 
Required.
           type: string
+      types:
+        text:
+          format: "text-plain"
+          description: "The text of the comment."
+          mediaType: text/plain
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git a/kamelets/jira-add-issue-sink.kamelet.yaml 
b/kamelets/jira-add-issue-sink.kamelet.yaml
index c31eef602..e7d1c7407 100644
--- a/kamelets/jira-add-issue-sink.kamelet.yaml
+++ b/kamelets/jira-add-issue-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
 
       Input: the body is the description of the issue, as text. The other 
fields come from headers. `ce-projectKey` (the key of the project, such as 
`SHOP`), `ce-issueTypeName` (such as `Bug` or `Task`) and `ce-issueSummary` 
(the title) are required. `ce-issueAssignee`, `ce-issuePriorityName` (such as 
`High`) and `ce-issueComponents` (a comma-separated list) are optional. Set 
them before this sink, for example with `insert-header-action`.
 
-      Output: when it is used inside a route, the body afterwards is the issue 
that was created.
+      Output: when it is used inside a route, the body afterwards is the issue 
that was created, as an object of the Jira client for Java, not JSON text. The 
`Content-Type` header is `text/plain`, from the description.
 
       Good to know: a message without a project key, an issue type or a 
summary fails. Log in either with `username` and `password`, or with 
`personal-token`. Headers that start with `CamelJira` are removed from the 
message first, so they cannot change what the Kamelet does.
     required:
@@ -75,6 +75,7 @@ spec:
       mediaType: application/json
   dataTypes:
     in:
+      default: text
       headers:
         ce-projectKey:
           title: Project Key
@@ -100,6 +101,11 @@ spec:
           title: Components
           description: A comma-separated list of the names of the components 
of the issue.
           type: string
+      types:
+        text:
+          format: "text-plain"
+          description: "The description of the issue, as text."
+          mediaType: text/plain
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git a/kamelets/jira-oauth-source.kamelet.yaml 
b/kamelets/jira-oauth-source.kamelet.yaml
index dc0d470d2..d16f9d81f 100644
--- a/kamelets/jira-oauth-source.kamelet.yaml
+++ b/kamelets/jira-oauth-source.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
 
       Use it to react to new tickets of a Jira Server or Data Center where an 
administrator has set up an application link with OAuth for your integration, 
for example to tell a team chat about a new bug. To log in with a user and an 
API token or a personal access token, which is simpler, use `jira-source`.
 
-      Output: the body is the issue as JSON text (a stream), with fields such 
as `key`, `summary`, `description`, `status`, `issueType`, `project`, 
`reporter`, `assignee` and `priority`.
+      Output: the body is the issue as JSON text in bytes, with fields such as 
`key`, `summary`, `description`, `status`, `issueType`, `project`, `reporter`, 
`assignee` and `priority`. The `Content-Type` header is `application/json`.
 
       Good to know: only the issues created after the Kamelet starts are sent; 
the issues that already exist are not, and neither are changes to an issue. It 
checks every 6 seconds. The four OAuth values come from the OAuth 1.0a 
authorization of the application link, see each option.
     required:
@@ -89,6 +89,14 @@ spec:
   types:
     out:
       mediaType: application/json
+  dataTypes:
+    out:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "The issue, as JSON text in bytes."
+          mediaType: application/json
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git a/kamelets/jira-source.kamelet.yaml 
b/kamelets/jira-source.kamelet.yaml
index f16b2c8fc..8ecd021dd 100644
--- a/kamelets/jira-source.kamelet.yaml
+++ b/kamelets/jira-source.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
 
       Use it to react when a ticket is opened, for example to tell a team chat 
about a new bug or to copy new issues into another tracker. To log in with 
OAuth 1.0a instead of a password or a token, use `jira-oauth-source`.
 
-      Output: the body is the issue as JSON text (a stream), with fields such 
as `key`, `summary`, `description`, `status`, `issueType`, `project`, 
`reporter`, `assignee` and `priority`.
+      Output: the body is the issue as JSON text in bytes, with fields such as 
`key`, `summary`, `description`, `status`, `issueType`, `project`, `reporter`, 
`assignee` and `priority`. The `Content-Type` header is `application/json`.
 
       Good to know: only the issues created after the Kamelet starts are sent; 
the issues that already exist are not, and neither are changes to an issue. It 
checks every 6 seconds. `jql` must be set, or the Kamelet does not start. Log 
in either with `username` and `password`, or with `personal-token`.
 
@@ -79,6 +79,14 @@ spec:
   types:
     out:
       mediaType: application/json
+  dataTypes:
+    out:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "The issue, as JSON text in bytes."
+          mediaType: application/json
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git a/kamelets/jira-transition-issue-sink.kamelet.yaml 
b/kamelets/jira-transition-issue-sink.kamelet.yaml
index a20dedb6e..9069c0c70 100644
--- a/kamelets/jira-transition-issue-sink.kamelet.yaml
+++ b/kamelets/jira-transition-issue-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
 
       Input: the `ce-issueKey` header (the key of the issue, such as 
`SHOP-42`) and the `ce-issueTransitionId` header (the ID number of the 
transition, such as `31`, not the name of the status) are required. The body, 
as text, is added to the issue as a comment after the transition.
 
-      Output: the message is unchanged.
+      Output: the body afterwards is the comment, as text, and the 
`Content-Type` header is `text/plain`.
 
       Good to know: a message without one of the two headers fails, and so 
does a transition that the workflow does not allow from the current status of 
the issue. Jira lists the transitions possible for an issue, with their IDs, at 
`<jiraUrl>/rest/api/2/issue/<key>/transitions`. Log in either with `username` 
and `password`, or with `personal-token`. Headers that start with `CamelJira` 
are removed from the message first, so they cannot change what the Kamelet does.
 
@@ -76,6 +76,7 @@ spec:
       mediaType: application/json
   dataTypes:
     in:
+      default: text
       headers:
         ce-issueKey:
           title: Issue Key
@@ -85,6 +86,11 @@ spec:
           title: Transition ID
           description: The ID number of the transition to run, such as `31`. 
Not the name of the status. Required.
           type: string
+      types:
+        text:
+          format: "text-plain"
+          description: "The comment to add after the transition, as text."
+          mediaType: text/plain
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git a/kamelets/jira-update-issue-sink.kamelet.yaml 
b/kamelets/jira-update-issue-sink.kamelet.yaml
index bb0b8c933..2684366da 100644
--- a/kamelets/jira-update-issue-sink.kamelet.yaml
+++ b/kamelets/jira-update-issue-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
 
       Input: the body becomes the new description of the issue, as text, and 
replaces the old one. When the body is empty, the `ce-issueDescription` header 
gives the description instead. The `ce-issueKey` header (the key of the issue, 
such as `SHOP-42`) is required. The other fields come from optional headers, 
and a field without a header is left as it is: `ce-issueSummary` (the title), 
`ce-issueTypeName` (such as `Bug`), `ce-issueAssignee`, `ce-issuePriorityName` 
(such as `High`) and `c [...]
 
-      Output: the message is unchanged.
+      Output: the body afterwards is the description, as text, and the 
`Content-Type` header is `text/plain`.
 
       Good to know: a message with a body always replaces the description, 
even when it also has the `ce-issueDescription` header. An issue type or a 
priority whose name Jira does not know is ignored. A message without 
`ce-issueKey` fails. Log in either with `username` and `password`, or with 
`personal-token`. Headers that start with `CamelJira` are removed from the 
message first, so they cannot change what the Kamelet does.
 
@@ -76,6 +76,7 @@ spec:
       mediaType: application/json
   dataTypes:
     in:
+      default: text
       headers:
         ce-issueKey:
           title: Issue Key
@@ -105,6 +106,11 @@ spec:
           title: Description
           description: The new description of the issue, used only when the 
body is empty.
           type: string
+      types:
+        text:
+          format: "text-plain"
+          description: "The new description of the issue, as text."
+          mediaType: text/plain
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git a/kamelets/salesforce-composite-upsert-sink.kamelet.yaml 
b/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
index a6534d3da..5ccd2a7a6 100644
--- a/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
+++ b/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
 
       Input: the body is JSON text with a `records` list. Each record gives 
its kind in `attributes`, such as `{"attributes": {"type": "Contact"}, 
"External_Id__c": "C-1", "LastName": "Lovelace"}`, and holds the external ID 
field named by `sObjectIdName` with its value, and the fields to set. 
Salesforce accepts up to 200 records in one call.
 
-      Output: when it is used inside a route, the body afterwards is a List 
with one result per record, in the same order, each with `id`, `success`, 
`created` (true for a new record) and `errors`.
+      Output: when it is used inside a route, the body afterwards is a List 
with one result per record, in the same order, each with `id`, `success`, 
`created` (true for a new record) and `errors`. The `Content-Type` header is 
`application/json`.
 
       Good to know: a record that Salesforce refuses does not fail the 
message, and the other records are still saved: check `success` in the results. 
Headers that start with `CamelSalesforce` are removed from the message first, 
so they cannot change what the Kamelet does.
     required:
@@ -121,6 +121,14 @@ spec:
   types:
     in:
       mediaType: application/json
+  dataTypes:
+    in:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "A JSON object with a records list, as JSON text in 
bytes."
+          mediaType: application/json
   dependencies:
   - "camel:jsonpath"
   - "camel:jackson3"
diff --git a/kamelets/salesforce-create-sink.kamelet.yaml 
b/kamelets/salesforce-create-sink.kamelet.yaml
index 90a8d08d1..f1ec351b4 100644
--- a/kamelets/salesforce-create-sink.kamelet.yaml
+++ b/kamelets/salesforce-create-sink.kamelet.yaml
@@ -37,7 +37,7 @@ spec:
 
       Input: the body is the fields of the new record as JSON text, with the 
API names of the fields, such as `{"LastName": "Lovelace", "Email": 
"[email protected]"}`. It is sent to Salesforce as it is. The kind of record 
comes from `sObjectName`.
 
-      Output: when it is used inside a route, the body afterwards is the 
answer of Salesforce as JSON text, with the `id` of the new record, `success` 
and `errors`.
+      Output: when it is used inside a route, the body afterwards is the 
answer of Salesforce as JSON text, with the `id` of the new record, `success` 
and `errors`. The `Content-Type` header is `application/json`.
 
       Good to know: a record that Salesforce refuses, for example because a 
required field is missing or a validation rule fails, fails the message. 
`sObjectName` must be set, or the Kamelet does not start. Headers that start 
with `CamelSalesforce` are removed from the message first, so they cannot 
change what the Kamelet does.
     required:
@@ -114,7 +114,16 @@ spec:
   types:
     in:
       mediaType: application/json
+  dataTypes:
+    in:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "The fields of the new record, a JSON object, as JSON 
text in bytes."
+          mediaType: application/json
   dependencies:
+  - "camel:jackson3"
   - "camel:salesforce"
   - "camel:kamelet"
   template:
diff --git a/kamelets/salesforce-delete-sink.kamelet.yaml 
b/kamelets/salesforce-delete-sink.kamelet.yaml
index 2e925e177..108fd6a13 100644
--- a/kamelets/salesforce-delete-sink.kamelet.yaml
+++ b/kamelets/salesforce-delete-sink.kamelet.yaml
@@ -37,7 +37,7 @@ spec:
 
       Input: the body is JSON text with two fields: `sObjectName`, the API 
name of the kind of record (such as `Contact`), and `sObjectId`, the ID of the 
record. For example `{"sObjectName": "Contact", "sObjectId": 
"003XXXXXXXXXXXXXXX"}`. Other fields are ignored.
 
-      Output: when it is used inside a route, the body afterwards is empty.
+      Output: when it is used inside a route, the body afterwards is empty, 
and the `Content-Type` header is `application/json`.
 
       Good to know: Salesforce moves the deleted record to its Recycle Bin. A 
message without `sObjectName` or `sObjectId`, or for a record that does not 
exist, fails. The message decides which record is deleted, so place this sink 
only after a source you trust. Headers that start with `CamelSalesforce` are 
removed from the message first, so they cannot change what the Kamelet does.
     required:
@@ -116,7 +116,16 @@ spec:
             type: string
           sObjectName:
             type: string
+  dataTypes:
+    in:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "A JSON object with sObjectName and sObjectId, as JSON 
text in bytes."
+          mediaType: application/json
   dependencies:
+  - "camel:jackson3"
   - "camel:salesforce"
   - "camel:kamelet"
   - "camel:jsonpath"
diff --git a/kamelets/salesforce-source.kamelet.yaml 
b/kamelets/salesforce-source.kamelet.yaml
index 85d635dff..9d953d5af 100644
--- a/kamelets/salesforce-source.kamelet.yaml
+++ b/kamelets/salesforce-source.kamelet.yaml
@@ -35,7 +35,7 @@ spec:
 
       Use it to react to changes in Salesforce, for example to copy each new 
contact to a mailing tool or to alert a team when an opportunity is won. For 
Platform Events and Change Data Capture through the newer Pub/Sub API, use 
`salesforce-pubsub-source`.
 
-      Output: the body is the record as JSON text, with the fields that the 
query selects. The `CamelSalesforceEventType` header says what happened: 
`created`, `updated`, `deleted` or `undeleted`. The `CamelSalesforceReplayId` 
header identifies the event.
+      Output: the body is the record as JSON text in bytes, with the fields 
that the query selects, and the `Content-Type` header is `application/json`. 
The `CamelSalesforceEventType` header says what happened: `created`, `updated`, 
`deleted` or `undeleted`. The `CamelSalesforceReplayId` header identifies the 
event.
 
       Good to know: when it starts, it creates the PushTopic `topicName` in 
Salesforce with `query` and the notify options, or updates it when it exists, 
so the user needs the permission to create PushTopics. By default only new 
records send an event; turn on `notifyForOperationUpdate` and the others for 
more. Only the events after the start are received, unless `replayId` is set.
     required:
@@ -160,6 +160,7 @@ spec:
       mediaType: application/json
   dataTypes:
     out:
+      default: json
       headers:
         CamelSalesforceEventType:
           title: Event Type
@@ -177,6 +178,11 @@ spec:
           title: Created Date
           description: When the event happened, as Salesforce gives it.
           type: string
+      types:
+        json:
+          format: "application-json"
+          description: "The record, as JSON text in bytes."
+          mediaType: application/json
   dependencies:
   - "camel:jackson3"
   - "camel:salesforce"
diff --git a/kamelets/salesforce-update-sink.kamelet.yaml 
b/kamelets/salesforce-update-sink.kamelet.yaml
index c1e21a7e8..48bc97d5d 100644
--- a/kamelets/salesforce-update-sink.kamelet.yaml
+++ b/kamelets/salesforce-update-sink.kamelet.yaml
@@ -109,6 +109,14 @@ spec:
   types:
     in:
       mediaType: application/json
+  dataTypes:
+    in:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "A JSON object with sObjectName, sObjectId and payload, 
as JSON text in bytes."
+          mediaType: application/json
   dependencies:
   - "camel:jsonpath"
   - "camel:jackson3"
diff --git a/kamelets/slack-sink.kamelet.yaml b/kamelets/slack-sink.kamelet.yaml
index 6eeec3849..d8e5a11ea 100644
--- a/kamelets/slack-sink.kamelet.yaml
+++ b/kamelets/slack-sink.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
 
       Use it to tell a team in Slack when something happens, such as a 
monitoring alert, a failed build, a new order or a daily report. To read the 
messages of a channel instead, use `slack-source`.
 
-      Input: the body is the text of the Slack message, as text; another kind 
of body is turned into text first. JSON text is posted as it is, as the text of 
the message, not as a Slack message structure. The text can use Slack's own 
formatting, such as `*bold*`. Headers are not read.
+      Input: the body is the text of the Slack message, as text; another kind 
of body is turned into text first. JSON text is posted as it is, as the text of 
the message, not as a Slack message structure. The text can use Slack's own 
formatting, such as `*bold*`. A `Message` object of the Slack API for Java 
(`com.slack.api.model.Message`) is posted as it is, with its blocks and 
attachments. Headers are not read.
 
       Output: the message is unchanged.
 
@@ -61,6 +61,10 @@ spec:
   types:
     out:
       mediaType: application/json
+  # No default data type here on purpose. Camel runs a default input type on
+  # every message, and `text` would turn a Slack `Message` or `SlackMessage`
+  # body, which the Slack component posts with its blocks and attachments,
+  # into its toString(). See #3117.
   dependencies:
   - "camel:jackson3"
   - "camel:slack"
diff --git a/kamelets/snmp-source.kamelet.yaml 
b/kamelets/snmp-source.kamelet.yaml
index 03acab1cf..e6412f7cf 100644
--- a/kamelets/snmp-source.kamelet.yaml
+++ b/kamelets/snmp-source.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
 
       Use it to monitor routers, switches, printers or servers that speak 
SNMP, for example to store their counters over time, or to forward their alarms 
(traps) to a ticketing or chat system.
 
-      Output: the body is XML text with one `entry` per value, each with its 
`oid` (the identifier of the value, such as `1.3.6.1.2.1.1.3.0` for the uptime) 
and its `value`, inside an `snmp` element. For a trap, the `peerAddress` header 
is the address of the device that sent it.
+      Output: the body is XML text with one `entry` per value, each with its 
`oid` (the identifier of the value, such as `1.3.6.1.2.1.1.3.0` for the uptime) 
and its `value`, inside an `snmp` element. The `Content-Type` header is 
`text/plain`. For a trap, the `peerAddress` header is the address of the device 
that sent it.
 
       Good to know: with `type` set to `TRAP`, `host` and `port` are the 
address to listen on, not a device; traps are usually sent to port 162, but 
`port` is 161 by default, and a port below 1024 needs administrator rights on 
most systems. A device that does not answer a poll gives no message: it is sent 
again `retries` times, each time after waiting `snmpTimeout` for the answer; 
when they are not set, that is 2 more times, after 1.5 seconds each. SNMP v1 
and v2c send the community stri [...]
     required:
@@ -154,11 +154,17 @@ spec:
         - urn:camel:group:credentials
   dataTypes:
     out:
+      default: text
       headers:
         peerAddress:
           title: Peer Address
           description: For a trap, the address and port of the device that 
sent it, such as `192.168.1.10/51097`.
           type: string
+      types:
+        text:
+          format: "text-plain"
+          description: "The values read or the trap received, as XML text."
+          mediaType: text/plain
   dependencies:
     - "camel:snmp"
     - "camel:kamelet"
diff --git a/kamelets/telegram-source.kamelet.yaml 
b/kamelets/telegram-source.kamelet.yaml
index 96a1a7f27..bf92e3df0 100644
--- a/kamelets/telegram-source.kamelet.yaml
+++ b/kamelets/telegram-source.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
 
       Use it to build a chat bot, for example to answer questions, take orders 
or run commands sent on Telegram; send the answers with `telegram-sink`.
 
-      Output: the body is the Telegram message as JSON text (a stream), with 
fields such as `text` (what was written), `chat` (with the `id` of the chat), 
`from` (the sender) and `message_id`. A photo or a document comes without 
`text`. The `chat-id` and `ce-chatid` headers hold the ID of the chat, so that 
`telegram-sink` can answer in the same chat.
+      Output: the body is the Telegram message as JSON text in bytes, with 
fields such as `text` (what was written), `chat` (with the `id` of the chat), 
`from` (the sender) and `message_id`. A photo or a document comes without 
`text`. The `chat-id` and `ce-chatid` headers hold the ID of the chat, so that 
`telegram-sink` can answer in the same chat. The `Content-Type` header is 
`application/json`.
 
       Good to know: it asks Telegram for new messages all the time, and each 
message is received once. Telegram keeps the messages that arrive while the 
Kamelet is stopped for up to 24 hours. It does not work while a webhook is set 
for the bot, and only one application at a time can read the messages of a bot. 
In a group, Telegram gives a bot only the commands and the replies to the bot, 
unless its privacy mode is turned off with @BotFather.
     required:
@@ -55,6 +55,7 @@ spec:
       mediaType: application/json
   dataTypes:
     out:
+      default: json
       headers:
         chat-id:
           title: Chat ID
@@ -64,6 +65,11 @@ spec:
           title: Chat ID
           description: The same as `chat-id`, for CloudEvents.
           type: string
+      types:
+        json:
+          format: "application-json"
+          description: "The Telegram message, as JSON text in bytes."
+          mediaType: application/json
   dependencies:
     - "camel:jackson3"
     - "camel:kamelet"
diff --git 
a/library/camel-kamelets/src/main/resources/META-INF/kamelets-index.json 
b/library/camel-kamelets/src/main/resources/META-INF/kamelets-index.json
index f87894b0e..48c3dadaf 100644
--- a/library/camel-kamelets/src/main/resources/META-INF/kamelets-index.json
+++ b/library/camel-kamelets/src/main/resources/META-INF/kamelets-index.json
@@ -1125,7 +1125,7 @@
     "supportLevel" : "Stable",
     "title" : "Jira Add Comment Sink",
     "summary" : "Adds the text of each message as a new comment to an existing 
issue in Jira.",
-    "description" : "Adds the text of each message as a new comment to an 
existing issue in Jira.\n\nUse it to record on a ticket what happened 
elsewhere, for example a deployment, the result of a build or a reply of a 
customer. To create issues use `jira-add-issue-sink`, to change their fields 
`jira-update-issue-sink`, and to change their status 
`jira-transition-issue-sink`.\n\nInput: the body is the text of the comment, as 
text. The `ce-issueKey` header, the key of the issue such as `S [...]
+    "description" : "Adds the text of each message as a new comment to an 
existing issue in Jira.\n\nUse it to record on a ticket what happened 
elsewhere, for example a deployment, the result of a build or a reply of a 
customer. To create issues use `jira-add-issue-sink`, to change their fields 
`jira-update-issue-sink`, and to change their status 
`jira-transition-issue-sink`.\n\nInput: the body is the text of the comment, as 
text. The `ce-issueKey` header, the key of the issue such as `S [...]
     "group" : "JIRA",
     "namespace" : "JIRA",
     "provider" : "Apache Software Foundation"
@@ -1135,7 +1135,7 @@
     "supportLevel" : "Stable",
     "title" : "Jira Add Issue Sink",
     "summary" : "Creates a new issue, such as a bug or a task, in a Jira 
project for each message.",
-    "description" : "Creates a new issue, such as a bug or a task, in a Jira 
project for each message.\n\nUse it to open a ticket automatically when 
something happens, for example when a monitoring alert fires, a form is 
submitted or an order fails.\n\nInput: the body is the description of the 
issue, as text. The other fields come from headers. `ce-projectKey` (the key of 
the project, such as `SHOP`), `ce-issueTypeName` (such as `Bug` or `Task`) and 
`ce-issueSummary` (the title) are requ [...]
+    "description" : "Creates a new issue, such as a bug or a task, in a Jira 
project for each message.\n\nUse it to open a ticket automatically when 
something happens, for example when a monitoring alert fires, a form is 
submitted or an order fails.\n\nInput: the body is the description of the 
issue, as text. The other fields come from headers. `ce-projectKey` (the key of 
the project, such as `SHOP`), `ce-issueTypeName` (such as `Bug` or `Task`) and 
`ce-issueSummary` (the title) are requ [...]
     "group" : "JIRA",
     "namespace" : "JIRA",
     "provider" : "Apache Software Foundation"
@@ -1145,7 +1145,7 @@
     "supportLevel" : "Stable",
     "title" : "Jira oauth Source",
     "summary" : "Receives each new Jira issue that matches a JQL query, such 
as every new bug of a project, by asking Jira at a regular interval, and logs 
in with OAuth 1.0a.",
-    "description" : "Receives each new Jira issue that matches a JQL query, 
such as every new bug of a project, by asking Jira at a regular interval, and 
logs in with OAuth 1.0a.\n\nUse it to react to new tickets of a Jira Server or 
Data Center where an administrator has set up an application link with OAuth 
for your integration, for example to tell a team chat about a new bug. To log 
in with a user and an API token or a personal access token, which is simpler, 
use `jira-source`.\n\nOutp [...]
+    "description" : "Receives each new Jira issue that matches a JQL query, 
such as every new bug of a project, by asking Jira at a regular interval, and 
logs in with OAuth 1.0a.\n\nUse it to react to new tickets of a Jira Server or 
Data Center where an administrator has set up an application link with OAuth 
for your integration, for example to tell a team chat about a new bug. To log 
in with a user and an API token or a personal access token, which is simpler, 
use `jira-source`.\n\nOutp [...]
     "group" : "JIRA",
     "namespace" : "JIRA",
     "provider" : "Apache Software Foundation"
@@ -1155,7 +1155,7 @@
     "supportLevel" : "Stable",
     "title" : "Jira Source",
     "summary" : "Receives each new Jira issue that matches a JQL query, such 
as every new bug of a project, by asking Jira at a regular interval.",
-    "description" : "Receives each new Jira issue that matches a JQL query, 
such as every new bug of a project, by asking Jira at a regular 
interval.\n\nUse it to react when a ticket is opened, for example to tell a 
team chat about a new bug or to copy new issues into another tracker. To log in 
with OAuth 1.0a instead of a password or a token, use 
`jira-oauth-source`.\n\nOutput: the body is the issue as JSON text (a stream), 
with fields such as `key`, `summary`, `description`, `status`,  [...]
+    "description" : "Receives each new Jira issue that matches a JQL query, 
such as every new bug of a project, by asking Jira at a regular 
interval.\n\nUse it to react when a ticket is opened, for example to tell a 
team chat about a new bug or to copy new issues into another tracker. To log in 
with OAuth 1.0a instead of a password or a token, use 
`jira-oauth-source`.\n\nOutput: the body is the issue as JSON text in bytes, 
with fields such as `key`, `summary`, `description`, `status`, `i [...]
     "group" : "JIRA",
     "namespace" : "JIRA",
     "provider" : "Apache Software Foundation"
@@ -1165,7 +1165,7 @@
     "supportLevel" : "Stable",
     "title" : "Jira Transition Issue Sink",
     "summary" : "Moves an existing Jira issue to another status, such as from 
`In Progress` to `Done`, by running a transition of its workflow for each 
message.",
-    "description" : "Moves an existing Jira issue to another status, such as 
from `In Progress` to `Done`, by running a transition of its workflow for each 
message.\n\nUse it to keep tickets in step with what happens elsewhere, for 
example to close an issue when its fix is deployed or to reopen it when a test 
fails again. To change other fields use `jira-update-issue-sink`, and to only 
add a comment `jira-add-comment-sink`.\n\nInput: the `ce-issueKey` header (the 
key of the issue, such a [...]
+    "description" : "Moves an existing Jira issue to another status, such as 
from `In Progress` to `Done`, by running a transition of its workflow for each 
message.\n\nUse it to keep tickets in step with what happens elsewhere, for 
example to close an issue when its fix is deployed or to reopen it when a test 
fails again. To change other fields use `jira-update-issue-sink`, and to only 
add a comment `jira-add-comment-sink`.\n\nInput: the `ce-issueKey` header (the 
key of the issue, such a [...]
     "group" : "JIRA",
     "namespace" : "JIRA",
     "provider" : "Apache Software Foundation"
@@ -1175,7 +1175,7 @@
     "supportLevel" : "Stable",
     "title" : "Jira Update Issue Sink",
     "summary" : "Changes the fields of an existing Jira issue, such as its 
summary, description, assignee or priority, for each message.",
-    "description" : "Changes the fields of an existing Jira issue, such as its 
summary, description, assignee or priority, for each message.\n\nUse it to keep 
a ticket in step with another system, for example to assign an issue to the 
person on call or to raise its priority when an alert repeats. To change the 
status use `jira-transition-issue-sink`, and to create issues 
`jira-add-issue-sink`.\n\nInput: the body becomes the new description of the 
issue, as text, and replaces the old one. [...]
+    "description" : "Changes the fields of an existing Jira issue, such as its 
summary, description, assignee or priority, for each message.\n\nUse it to keep 
a ticket in step with another system, for example to assign an issue to the 
person on call or to raise its priority when an alert repeats. To change the 
status use `jira-transition-issue-sink`, and to create issues 
`jira-add-issue-sink`.\n\nInput: the body becomes the new description of the 
issue, as text, and replaces the old one. [...]
     "group" : "JIRA",
     "namespace" : "JIRA",
     "provider" : "Apache Software Foundation"
@@ -1805,7 +1805,7 @@
     "supportLevel" : "Stable",
     "title" : "Salesforce composite upsert Sink",
     "summary" : "Creates or updates many Salesforce records of one kind in a 
single call, matching each record to an existing one by an external ID field.",
-    "description" : "Creates or updates many Salesforce records of one kind in 
a single call, matching each record to an existing one by an external ID 
field.\n\nUse it to copy a batch of customers, products or orders from another 
system into Salesforce without creating duplicates: a record whose external ID 
is already in Salesforce is updated, the others are created. To create or 
change one record at a time, use `salesforce-create-sink` or 
`salesforce-update-sink`.\n\nInput: the body is [...]
+    "description" : "Creates or updates many Salesforce records of one kind in 
a single call, matching each record to an existing one by an external ID 
field.\n\nUse it to copy a batch of customers, products or orders from another 
system into Salesforce without creating duplicates: a record whose external ID 
is already in Salesforce is updated, the others are created. To create or 
change one record at a time, use `salesforce-create-sink` or 
`salesforce-update-sink`.\n\nInput: the body is [...]
     "group" : "Salesforce",
     "namespace" : "Salesforce",
     "provider" : "Apache Software Foundation"
@@ -1815,7 +1815,7 @@
     "supportLevel" : "Stable",
     "title" : "Salesforce Create Sink",
     "summary" : "Creates a new record, such as a contact, an account or a 
lead, in Salesforce for each message.",
-    "description" : "Creates a new record, such as a contact, an account or a 
lead, in Salesforce for each message.\n\nUse it to add to Salesforce what 
happens in other systems, for example a contact for each web form sent or a 
lead from a marketing tool. To change existing records use 
`salesforce-update-sink`, and to create or update many records at once, matched 
by an external ID, `salesforce-composite-upsert-sink`.\n\nInput: the body is 
the fields of the new record as JSON text, with  [...]
+    "description" : "Creates a new record, such as a contact, an account or a 
lead, in Salesforce for each message.\n\nUse it to add to Salesforce what 
happens in other systems, for example a contact for each web form sent or a 
lead from a marketing tool. To change existing records use 
`salesforce-update-sink`, and to create or update many records at once, matched 
by an external ID, `salesforce-composite-upsert-sink`.\n\nInput: the body is 
the fields of the new record as JSON text, with  [...]
     "group" : "Salesforce",
     "namespace" : "Salesforce",
     "provider" : "Apache Software Foundation"
@@ -1825,7 +1825,7 @@
     "supportLevel" : "Stable",
     "title" : "Salesforce Delete Sink",
     "summary" : "Deletes the Salesforce record that each message names by its 
ID, such as a contact or an account.",
-    "description" : "Deletes the Salesforce record that each message names by 
its ID, such as a contact or an account.\n\nUse it to remove records from 
Salesforce when they are removed in another system, for example to delete a 
contact when a customer closes their account.\n\nInput: the body is JSON text 
with two fields: `sObjectName`, the API name of the kind of record (such as 
`Contact`), and `sObjectId`, the ID of the record. For example 
`{\"sObjectName\": \"Contact\", \"sObjectId\":  [...]
+    "description" : "Deletes the Salesforce record that each message names by 
its ID, such as a contact or an account.\n\nUse it to remove records from 
Salesforce when they are removed in another system, for example to delete a 
contact when a customer closes their account.\n\nInput: the body is JSON text 
with two fields: `sObjectName`, the API name of the kind of record (such as 
`Contact`), and `sObjectId`, the ID of the record. For example 
`{\"sObjectName\": \"Contact\", \"sObjectId\":  [...]
     "group" : "Salesforce",
     "namespace" : "Salesforce",
     "provider" : "Apache Software Foundation"
@@ -1845,7 +1845,7 @@
     "supportLevel" : "Stable",
     "title" : "Salesforce Source",
     "summary" : "Receives an event each time a Salesforce record that matches 
a SOQL query is created, updated, deleted or undeleted, through a PushTopic of 
the Streaming API.",
-    "description" : "Receives an event each time a Salesforce record that 
matches a SOQL query is created, updated, deleted or undeleted, through a 
PushTopic of the Streaming API.\n\nUse it to react to changes in Salesforce, 
for example to copy each new contact to a mailing tool or to alert a team when 
an opportunity is won. For Platform Events and Change Data Capture through the 
newer Pub/Sub API, use `salesforce-pubsub-source`.\n\nOutput: the body is the 
record as JSON text, with the f [...]
+    "description" : "Receives an event each time a Salesforce record that 
matches a SOQL query is created, updated, deleted or undeleted, through a 
PushTopic of the Streaming API.\n\nUse it to react to changes in Salesforce, 
for example to copy each new contact to a mailing tool or to alert a team when 
an opportunity is won. For Platform Events and Change Data Capture through the 
newer Pub/Sub API, use `salesforce-pubsub-source`.\n\nOutput: the body is the 
record as JSON text in bytes, w [...]
     "group" : "Salesforce",
     "namespace" : "Salesforce",
     "provider" : "Apache Software Foundation"
@@ -1925,7 +1925,7 @@
     "supportLevel" : "Stable",
     "title" : "Slack Sink",
     "summary" : "Posts each message as a text message to a Slack channel, 
through an incoming webhook of a Slack app.",
-    "description" : "Posts each message as a text message to a Slack channel, 
through an incoming webhook of a Slack app.\n\nUse it to tell a team in Slack 
when something happens, such as a monitoring alert, a failed build, a new order 
or a daily report. To read the messages of a channel instead, use 
`slack-source`.\n\nInput: the body is the text of the Slack message, as text; 
another kind of body is turned into text first. JSON text is posted as it is, 
as the text of the message, not as [...]
+    "description" : "Posts each message as a text message to a Slack channel, 
through an incoming webhook of a Slack app.\n\nUse it to tell a team in Slack 
when something happens, such as a monitoring alert, a failed build, a new order 
or a daily report. To read the messages of a channel instead, use 
`slack-source`.\n\nInput: the body is the text of the Slack message, as text; 
another kind of body is turned into text first. JSON text is posted as it is, 
as the text of the message, not as [...]
     "group" : "Slack",
     "namespace" : "Social",
     "provider" : "Apache Software Foundation"
@@ -1965,7 +1965,7 @@
     "supportLevel" : "Preview",
     "title" : "SNMP Source",
     "summary" : "Reads values, such as uptime or interface counters, from a 
network device over SNMP at a regular interval, or receives the SNMP traps that 
devices send, one message per reading or trap.",
-    "description" : "Reads values, such as uptime or interface counters, from 
a network device over SNMP at a regular interval, or receives the SNMP traps 
that devices send, one message per reading or trap.\n\nUse it to monitor 
routers, switches, printers or servers that speak SNMP, for example to store 
their counters over time, or to forward their alarms (traps) to a ticketing or 
chat system.\n\nOutput: the body is XML text with one `entry` per value, each 
with its `oid` (the identifier [...]
+    "description" : "Reads values, such as uptime or interface counters, from 
a network device over SNMP at a regular interval, or receives the SNMP traps 
that devices send, one message per reading or trap.\n\nUse it to monitor 
routers, switches, printers or servers that speak SNMP, for example to store 
their counters over time, or to forward their alarms (traps) to a ticketing or 
chat system.\n\nOutput: the body is XML text with one `entry` per value, each 
with its `oid` (the identifier [...]
     "group" : "SNMP",
     "namespace" : "Monitoring",
     "provider" : "Apache Software Foundation"
@@ -2105,7 +2105,7 @@
     "supportLevel" : "Stable",
     "title" : "Telegram Source",
     "summary" : "Receives the messages that people send to your Telegram bot, 
in private chats and in the groups the bot is in, one message per Telegram 
message.",
-    "description" : "Receives the messages that people send to your Telegram 
bot, in private chats and in the groups the bot is in, one message per Telegram 
message.\n\nUse it to build a chat bot, for example to answer questions, take 
orders or run commands sent on Telegram; send the answers with 
`telegram-sink`.\n\nOutput: the body is the Telegram message as JSON text (a 
stream), with fields such as `text` (what was written), `chat` (with the `id` 
of the chat), `from` (the sender) and ` [...]
+    "description" : "Receives the messages that people send to your Telegram 
bot, in private chats and in the groups the bot is in, one message per Telegram 
message.\n\nUse it to build a chat bot, for example to answer questions, take 
orders or run commands sent on Telegram; send the answers with 
`telegram-sink`.\n\nOutput: the body is the Telegram message as JSON text in 
bytes, with fields such as `text` (what was written), `chat` (with the `id` of 
the chat), `from` (the sender) and `me [...]
     "group" : "Telegram",
     "namespace" : "Social",
     "provider" : "Apache Software Foundation"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/jira-add-comment-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/jira-add-comment-sink.kamelet.yaml
index bdf29c48c..d36b8132f 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/jira-add-comment-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/jira-add-comment-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
 
       Input: the body is the text of the comment, as text. The `ce-issueKey` 
header, the key of the issue such as `SHOP-42`, is required. Set it before this 
sink, for example with `insert-header-action`.
 
-      Output: the message is unchanged.
+      Output: the body afterwards is the text of the comment, as text, and the 
`Content-Type` header is `text/plain`.
 
       Good to know: a message without `ce-issueKey`, or for an issue that does 
not exist or that the user cannot see, fails. The comment is written in the 
name of the account the Kamelet logs in with. Log in either with `username` and 
`password`, or with `personal-token`. Headers that start with `CamelJira` are 
removed from the message first, so they cannot change what the Kamelet does.
 
@@ -76,11 +76,17 @@ spec:
       mediaType: application/json
   dataTypes:
     in:
+      default: text
       headers:
         ce-issueKey:
           title: Issue Key
           description: The key of the issue to comment on, such as `SHOP-42`. 
Required.
           type: string
+      types:
+        text:
+          format: "text-plain"
+          description: "The text of the comment."
+          mediaType: text/plain
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/jira-add-issue-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/jira-add-issue-sink.kamelet.yaml
index c31eef602..e7d1c7407 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/jira-add-issue-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/jira-add-issue-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
 
       Input: the body is the description of the issue, as text. The other 
fields come from headers. `ce-projectKey` (the key of the project, such as 
`SHOP`), `ce-issueTypeName` (such as `Bug` or `Task`) and `ce-issueSummary` 
(the title) are required. `ce-issueAssignee`, `ce-issuePriorityName` (such as 
`High`) and `ce-issueComponents` (a comma-separated list) are optional. Set 
them before this sink, for example with `insert-header-action`.
 
-      Output: when it is used inside a route, the body afterwards is the issue 
that was created.
+      Output: when it is used inside a route, the body afterwards is the issue 
that was created, as an object of the Jira client for Java, not JSON text. The 
`Content-Type` header is `text/plain`, from the description.
 
       Good to know: a message without a project key, an issue type or a 
summary fails. Log in either with `username` and `password`, or with 
`personal-token`. Headers that start with `CamelJira` are removed from the 
message first, so they cannot change what the Kamelet does.
     required:
@@ -75,6 +75,7 @@ spec:
       mediaType: application/json
   dataTypes:
     in:
+      default: text
       headers:
         ce-projectKey:
           title: Project Key
@@ -100,6 +101,11 @@ spec:
           title: Components
           description: A comma-separated list of the names of the components 
of the issue.
           type: string
+      types:
+        text:
+          format: "text-plain"
+          description: "The description of the issue, as text."
+          mediaType: text/plain
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/jira-oauth-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/jira-oauth-source.kamelet.yaml
index dc0d470d2..d16f9d81f 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/jira-oauth-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/jira-oauth-source.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
 
       Use it to react to new tickets of a Jira Server or Data Center where an 
administrator has set up an application link with OAuth for your integration, 
for example to tell a team chat about a new bug. To log in with a user and an 
API token or a personal access token, which is simpler, use `jira-source`.
 
-      Output: the body is the issue as JSON text (a stream), with fields such 
as `key`, `summary`, `description`, `status`, `issueType`, `project`, 
`reporter`, `assignee` and `priority`.
+      Output: the body is the issue as JSON text in bytes, with fields such as 
`key`, `summary`, `description`, `status`, `issueType`, `project`, `reporter`, 
`assignee` and `priority`. The `Content-Type` header is `application/json`.
 
       Good to know: only the issues created after the Kamelet starts are sent; 
the issues that already exist are not, and neither are changes to an issue. It 
checks every 6 seconds. The four OAuth values come from the OAuth 1.0a 
authorization of the application link, see each option.
     required:
@@ -89,6 +89,14 @@ spec:
   types:
     out:
       mediaType: application/json
+  dataTypes:
+    out:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "The issue, as JSON text in bytes."
+          mediaType: application/json
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/jira-source.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/jira-source.kamelet.yaml
index f16b2c8fc..8ecd021dd 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/jira-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/jira-source.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
 
       Use it to react when a ticket is opened, for example to tell a team chat 
about a new bug or to copy new issues into another tracker. To log in with 
OAuth 1.0a instead of a password or a token, use `jira-oauth-source`.
 
-      Output: the body is the issue as JSON text (a stream), with fields such 
as `key`, `summary`, `description`, `status`, `issueType`, `project`, 
`reporter`, `assignee` and `priority`.
+      Output: the body is the issue as JSON text in bytes, with fields such as 
`key`, `summary`, `description`, `status`, `issueType`, `project`, `reporter`, 
`assignee` and `priority`. The `Content-Type` header is `application/json`.
 
       Good to know: only the issues created after the Kamelet starts are sent; 
the issues that already exist are not, and neither are changes to an issue. It 
checks every 6 seconds. `jql` must be set, or the Kamelet does not start. Log 
in either with `username` and `password`, or with `personal-token`.
 
@@ -79,6 +79,14 @@ spec:
   types:
     out:
       mediaType: application/json
+  dataTypes:
+    out:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "The issue, as JSON text in bytes."
+          mediaType: application/json
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/jira-transition-issue-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/jira-transition-issue-sink.kamelet.yaml
index a20dedb6e..9069c0c70 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/jira-transition-issue-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/jira-transition-issue-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
 
       Input: the `ce-issueKey` header (the key of the issue, such as 
`SHOP-42`) and the `ce-issueTransitionId` header (the ID number of the 
transition, such as `31`, not the name of the status) are required. The body, 
as text, is added to the issue as a comment after the transition.
 
-      Output: the message is unchanged.
+      Output: the body afterwards is the comment, as text, and the 
`Content-Type` header is `text/plain`.
 
       Good to know: a message without one of the two headers fails, and so 
does a transition that the workflow does not allow from the current status of 
the issue. Jira lists the transitions possible for an issue, with their IDs, at 
`<jiraUrl>/rest/api/2/issue/<key>/transitions`. Log in either with `username` 
and `password`, or with `personal-token`. Headers that start with `CamelJira` 
are removed from the message first, so they cannot change what the Kamelet does.
 
@@ -76,6 +76,7 @@ spec:
       mediaType: application/json
   dataTypes:
     in:
+      default: text
       headers:
         ce-issueKey:
           title: Issue Key
@@ -85,6 +86,11 @@ spec:
           title: Transition ID
           description: The ID number of the transition to run, such as `31`. 
Not the name of the status. Required.
           type: string
+      types:
+        text:
+          format: "text-plain"
+          description: "The comment to add after the transition, as text."
+          mediaType: text/plain
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/jira-update-issue-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/jira-update-issue-sink.kamelet.yaml
index bb0b8c933..2684366da 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/jira-update-issue-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/jira-update-issue-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
 
       Input: the body becomes the new description of the issue, as text, and 
replaces the old one. When the body is empty, the `ce-issueDescription` header 
gives the description instead. The `ce-issueKey` header (the key of the issue, 
such as `SHOP-42`) is required. The other fields come from optional headers, 
and a field without a header is left as it is: `ce-issueSummary` (the title), 
`ce-issueTypeName` (such as `Bug`), `ce-issueAssignee`, `ce-issuePriorityName` 
(such as `High`) and `c [...]
 
-      Output: the message is unchanged.
+      Output: the body afterwards is the description, as text, and the 
`Content-Type` header is `text/plain`.
 
       Good to know: a message with a body always replaces the description, 
even when it also has the `ce-issueDescription` header. An issue type or a 
priority whose name Jira does not know is ignored. A message without 
`ce-issueKey` fails. Log in either with `username` and `password`, or with 
`personal-token`. Headers that start with `CamelJira` are removed from the 
message first, so they cannot change what the Kamelet does.
 
@@ -76,6 +76,7 @@ spec:
       mediaType: application/json
   dataTypes:
     in:
+      default: text
       headers:
         ce-issueKey:
           title: Issue Key
@@ -105,6 +106,11 @@ spec:
           title: Description
           description: The new description of the issue, used only when the 
body is empty.
           type: string
+      types:
+        text:
+          format: "text-plain"
+          description: "The new description of the issue, as text."
+          mediaType: text/plain
   dependencies:
   - "camel:jackson3"
   - "camel:jira"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
index a6534d3da..5ccd2a7a6 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-composite-upsert-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
 
       Input: the body is JSON text with a `records` list. Each record gives 
its kind in `attributes`, such as `{"attributes": {"type": "Contact"}, 
"External_Id__c": "C-1", "LastName": "Lovelace"}`, and holds the external ID 
field named by `sObjectIdName` with its value, and the fields to set. 
Salesforce accepts up to 200 records in one call.
 
-      Output: when it is used inside a route, the body afterwards is a List 
with one result per record, in the same order, each with `id`, `success`, 
`created` (true for a new record) and `errors`.
+      Output: when it is used inside a route, the body afterwards is a List 
with one result per record, in the same order, each with `id`, `success`, 
`created` (true for a new record) and `errors`. The `Content-Type` header is 
`application/json`.
 
       Good to know: a record that Salesforce refuses does not fail the 
message, and the other records are still saved: check `success` in the results. 
Headers that start with `CamelSalesforce` are removed from the message first, 
so they cannot change what the Kamelet does.
     required:
@@ -121,6 +121,14 @@ spec:
   types:
     in:
       mediaType: application/json
+  dataTypes:
+    in:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "A JSON object with a records list, as JSON text in 
bytes."
+          mediaType: application/json
   dependencies:
   - "camel:jsonpath"
   - "camel:jackson3"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-create-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-create-sink.kamelet.yaml
index 90a8d08d1..f1ec351b4 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-create-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-create-sink.kamelet.yaml
@@ -37,7 +37,7 @@ spec:
 
       Input: the body is the fields of the new record as JSON text, with the 
API names of the fields, such as `{"LastName": "Lovelace", "Email": 
"[email protected]"}`. It is sent to Salesforce as it is. The kind of record 
comes from `sObjectName`.
 
-      Output: when it is used inside a route, the body afterwards is the 
answer of Salesforce as JSON text, with the `id` of the new record, `success` 
and `errors`.
+      Output: when it is used inside a route, the body afterwards is the 
answer of Salesforce as JSON text, with the `id` of the new record, `success` 
and `errors`. The `Content-Type` header is `application/json`.
 
       Good to know: a record that Salesforce refuses, for example because a 
required field is missing or a validation rule fails, fails the message. 
`sObjectName` must be set, or the Kamelet does not start. Headers that start 
with `CamelSalesforce` are removed from the message first, so they cannot 
change what the Kamelet does.
     required:
@@ -114,7 +114,16 @@ spec:
   types:
     in:
       mediaType: application/json
+  dataTypes:
+    in:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "The fields of the new record, a JSON object, as JSON 
text in bytes."
+          mediaType: application/json
   dependencies:
+  - "camel:jackson3"
   - "camel:salesforce"
   - "camel:kamelet"
   template:
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-delete-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-delete-sink.kamelet.yaml
index 2e925e177..108fd6a13 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-delete-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-delete-sink.kamelet.yaml
@@ -37,7 +37,7 @@ spec:
 
       Input: the body is JSON text with two fields: `sObjectName`, the API 
name of the kind of record (such as `Contact`), and `sObjectId`, the ID of the 
record. For example `{"sObjectName": "Contact", "sObjectId": 
"003XXXXXXXXXXXXXXX"}`. Other fields are ignored.
 
-      Output: when it is used inside a route, the body afterwards is empty.
+      Output: when it is used inside a route, the body afterwards is empty, 
and the `Content-Type` header is `application/json`.
 
       Good to know: Salesforce moves the deleted record to its Recycle Bin. A 
message without `sObjectName` or `sObjectId`, or for a record that does not 
exist, fails. The message decides which record is deleted, so place this sink 
only after a source you trust. Headers that start with `CamelSalesforce` are 
removed from the message first, so they cannot change what the Kamelet does.
     required:
@@ -116,7 +116,16 @@ spec:
             type: string
           sObjectName:
             type: string
+  dataTypes:
+    in:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "A JSON object with sObjectName and sObjectId, as JSON 
text in bytes."
+          mediaType: application/json
   dependencies:
+  - "camel:jackson3"
   - "camel:salesforce"
   - "camel:kamelet"
   - "camel:jsonpath"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
index 85d635dff..9d953d5af 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
@@ -35,7 +35,7 @@ spec:
 
       Use it to react to changes in Salesforce, for example to copy each new 
contact to a mailing tool or to alert a team when an opportunity is won. For 
Platform Events and Change Data Capture through the newer Pub/Sub API, use 
`salesforce-pubsub-source`.
 
-      Output: the body is the record as JSON text, with the fields that the 
query selects. The `CamelSalesforceEventType` header says what happened: 
`created`, `updated`, `deleted` or `undeleted`. The `CamelSalesforceReplayId` 
header identifies the event.
+      Output: the body is the record as JSON text in bytes, with the fields 
that the query selects, and the `Content-Type` header is `application/json`. 
The `CamelSalesforceEventType` header says what happened: `created`, `updated`, 
`deleted` or `undeleted`. The `CamelSalesforceReplayId` header identifies the 
event.
 
       Good to know: when it starts, it creates the PushTopic `topicName` in 
Salesforce with `query` and the notify options, or updates it when it exists, 
so the user needs the permission to create PushTopics. By default only new 
records send an event; turn on `notifyForOperationUpdate` and the others for 
more. Only the events after the start are received, unless `replayId` is set.
     required:
@@ -160,6 +160,7 @@ spec:
       mediaType: application/json
   dataTypes:
     out:
+      default: json
       headers:
         CamelSalesforceEventType:
           title: Event Type
@@ -177,6 +178,11 @@ spec:
           title: Created Date
           description: When the event happened, as Salesforce gives it.
           type: string
+      types:
+        json:
+          format: "application-json"
+          description: "The record, as JSON text in bytes."
+          mediaType: application/json
   dependencies:
   - "camel:jackson3"
   - "camel:salesforce"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-update-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-update-sink.kamelet.yaml
index c1e21a7e8..48bc97d5d 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/salesforce-update-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/salesforce-update-sink.kamelet.yaml
@@ -109,6 +109,14 @@ spec:
   types:
     in:
       mediaType: application/json
+  dataTypes:
+    in:
+      default: json
+      types:
+        json:
+          format: "application-json"
+          description: "A JSON object with sObjectName, sObjectId and payload, 
as JSON text in bytes."
+          mediaType: application/json
   dependencies:
   - "camel:jsonpath"
   - "camel:jackson3"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/slack-sink.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/slack-sink.kamelet.yaml
index 6eeec3849..d8e5a11ea 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/slack-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/slack-sink.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
 
       Use it to tell a team in Slack when something happens, such as a 
monitoring alert, a failed build, a new order or a daily report. To read the 
messages of a channel instead, use `slack-source`.
 
-      Input: the body is the text of the Slack message, as text; another kind 
of body is turned into text first. JSON text is posted as it is, as the text of 
the message, not as a Slack message structure. The text can use Slack's own 
formatting, such as `*bold*`. Headers are not read.
+      Input: the body is the text of the Slack message, as text; another kind 
of body is turned into text first. JSON text is posted as it is, as the text of 
the message, not as a Slack message structure. The text can use Slack's own 
formatting, such as `*bold*`. A `Message` object of the Slack API for Java 
(`com.slack.api.model.Message`) is posted as it is, with its blocks and 
attachments. Headers are not read.
 
       Output: the message is unchanged.
 
@@ -61,6 +61,10 @@ spec:
   types:
     out:
       mediaType: application/json
+  # No default data type here on purpose. Camel runs a default input type on
+  # every message, and `text` would turn a Slack `Message` or `SlackMessage`
+  # body, which the Slack component posts with its blocks and attachments,
+  # into its toString(). See #3117.
   dependencies:
   - "camel:jackson3"
   - "camel:slack"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/snmp-source.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/snmp-source.kamelet.yaml
index 03acab1cf..e6412f7cf 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/snmp-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/snmp-source.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
 
       Use it to monitor routers, switches, printers or servers that speak 
SNMP, for example to store their counters over time, or to forward their alarms 
(traps) to a ticketing or chat system.
 
-      Output: the body is XML text with one `entry` per value, each with its 
`oid` (the identifier of the value, such as `1.3.6.1.2.1.1.3.0` for the uptime) 
and its `value`, inside an `snmp` element. For a trap, the `peerAddress` header 
is the address of the device that sent it.
+      Output: the body is XML text with one `entry` per value, each with its 
`oid` (the identifier of the value, such as `1.3.6.1.2.1.1.3.0` for the uptime) 
and its `value`, inside an `snmp` element. The `Content-Type` header is 
`text/plain`. For a trap, the `peerAddress` header is the address of the device 
that sent it.
 
       Good to know: with `type` set to `TRAP`, `host` and `port` are the 
address to listen on, not a device; traps are usually sent to port 162, but 
`port` is 161 by default, and a port below 1024 needs administrator rights on 
most systems. A device that does not answer a poll gives no message: it is sent 
again `retries` times, each time after waiting `snmpTimeout` for the answer; 
when they are not set, that is 2 more times, after 1.5 seconds each. SNMP v1 
and v2c send the community stri [...]
     required:
@@ -154,11 +154,17 @@ spec:
         - urn:camel:group:credentials
   dataTypes:
     out:
+      default: text
       headers:
         peerAddress:
           title: Peer Address
           description: For a trap, the address and port of the device that 
sent it, such as `192.168.1.10/51097`.
           type: string
+      types:
+        text:
+          format: "text-plain"
+          description: "The values read or the trap received, as XML text."
+          mediaType: text/plain
   dependencies:
     - "camel:snmp"
     - "camel:kamelet"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml
index 96a1a7f27..bf92e3df0 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml
@@ -36,7 +36,7 @@ spec:
 
       Use it to build a chat bot, for example to answer questions, take orders 
or run commands sent on Telegram; send the answers with `telegram-sink`.
 
-      Output: the body is the Telegram message as JSON text (a stream), with 
fields such as `text` (what was written), `chat` (with the `id` of the chat), 
`from` (the sender) and `message_id`. A photo or a document comes without 
`text`. The `chat-id` and `ce-chatid` headers hold the ID of the chat, so that 
`telegram-sink` can answer in the same chat.
+      Output: the body is the Telegram message as JSON text in bytes, with 
fields such as `text` (what was written), `chat` (with the `id` of the chat), 
`from` (the sender) and `message_id`. A photo or a document comes without 
`text`. The `chat-id` and `ce-chatid` headers hold the ID of the chat, so that 
`telegram-sink` can answer in the same chat. The `Content-Type` header is 
`application/json`.
 
       Good to know: it asks Telegram for new messages all the time, and each 
message is received once. Telegram keeps the messages that arrive while the 
Kamelet is stopped for up to 24 hours. It does not work while a webhook is set 
for the bot, and only one application at a time can read the messages of a bot. 
In a group, Telegram gives a bot only the commands and the replies to the bot, 
unless its privacy mode is turned off with @BotFather.
     required:
@@ -55,6 +55,7 @@ spec:
       mediaType: application/json
   dataTypes:
     out:
+      default: json
       headers:
         chat-id:
           title: Chat ID
@@ -64,6 +65,11 @@ spec:
           title: Chat ID
           description: The same as `chat-id`, for CloudEvents.
           type: string
+      types:
+        json:
+          format: "application-json"
+          description: "The Telegram message, as JSON text in bytes."
+          mediaType: application/json
   dependencies:
     - "camel:jackson3"
     - "camel:kamelet"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-comment-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-comment-sink-route.citrus.it.yaml
index c81b815d8..7f42ba78a 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-comment-sink-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-comment-sink-route.citrus.it.yaml
@@ -211,6 +211,28 @@ actions:
                 }
               }
 
+  # the bytes of the body were read as text: the body afterwards is the 
comment as text, with the Content-Type text/plain
+  - http:
+      server: "jiraServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct=text/plain'
+          body:
+            data: '${jira.issue.comment}'
+  - http:
+      server: "jiraServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+
   # Verify JIRA source
   - camel:
       cli:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-comment-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-comment-sink-route.yaml
index 4236db727..606914515 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-comment-sink-route.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-comment-sink-route.yaml
@@ -32,9 +32,21 @@
             uri: "kamelet:log-action"
             parameters:
               showHeaders: true
+        # the text as bytes: the Kamelet reads it as text
+        - convertBodyTo:
+            type: "byte[]"
         - to:
             uri: "kamelet:jira-add-comment-sink"
             parameters:
               jiraUrl: '{{jira.url}}'
               username: '{{jira.username}}'
               password: '{{jira.password}}'
+        # what the Kamelet leaves: the Java type of the body and the 
Content-Type
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - to:
+            uri: "{{jira.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-issue-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-issue-sink-route.citrus.it.yaml
index 8b2ddeb65..146b60822 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-issue-sink-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-issue-sink-route.citrus.it.yaml
@@ -159,6 +159,83 @@ actions:
                 "self": "${jira.url}/rest/api/latest/issue/${jira.issue.id}"
               }
 
+  # the producer reads the created issue back
+  - http:
+      server: "jiraServer"
+      receiveRequest:
+        GET:
+          path: "/rest/api/latest/issue/${jira.issue.key}"
+          headers:
+            - name: Authorization
+              value: "Basic 
citrus:encodeBase64(${jira.username}:${jira.password})"
+
+  - http:
+      server: "jiraServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          contentType: "application/json"
+          body:
+            data: |
+              {
+                "expand": "schema,names",
+                "id": "${jira.issue.id}",
+                "key": "${jira.issue.key}",
+                "self": "${jira.url}/rest/api/latest/issue/${jira.issue.key}",
+                "names": {},
+                "schema": {},
+                "fields": {
+                  "project": {
+                    "self": 
"${jira.url}/rest/api/latest/project/${jira.project.id}",
+                    "id": "${jira.project.id}",
+                    "key": "${jira.project.key}"
+                  },
+                  "summary": "${jira.issue.summary}",
+                  "description": "${jira.issue.description}",
+                  "issuetype": {
+                    "self": "${jira.url}/rest/api/latest/issuetype/1",
+                    "id": "1",
+                    "description": "A problem with the software.",
+                    "iconUrl": "${jira.url}/images/icons/bug.gif",
+                    "name": "${jira.issue.type}",
+                    "subtask": false
+                  },
+                  "created": "2026-11-19T10:15:30.000+0000",
+                  "updated": "2026-11-19T10:15:30.000+0000",
+                  "status": {
+                    "self": "${jira.url}/rest/api/latest/status/1",
+                    "id": 1,
+                    "description": "Open task.",
+                    "iconUrl": "${jira.url}/images/icons/status_1.gif",
+                    "name": "Open"
+                  }
+                }
+              }
+
+  # the body afterwards is the created issue (sent here as its key); the 
Content-Type is the text/plain of the body that went in
+  - http:
+      server: "jiraServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'com.atlassian.jira.rest.client.api.domain.Issue'
+            - name: "X-Content-Type"
+              value: 'ct=text/plain'
+          body:
+            data: '${jira.issue.key}'
+  - http:
+      server: "jiraServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+
   # Verify JIRA source
   - camel:
       cli:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-issue-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-issue-sink-route.yaml
index 847d35d60..162e5003b 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-issue-sink-route.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-add-issue-sink-route.yaml
@@ -47,9 +47,24 @@
             uri: "kamelet:log-action"
             parameters:
               showHeaders: true
+        # the text as bytes: the Kamelet reads it as text
+        - convertBodyTo:
+            type: "byte[]"
         - to:
             uri: "kamelet:jira-add-issue-sink"
             parameters:
               jiraUrl: '{{jira.url}}'
               username: '{{jira.username}}'
               password: '{{jira.password}}'
+        # what the Kamelet leaves: the Java type of the body and the 
Content-Type
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        # the key of the created issue
+        - setBody:
+            simple: "${body.key}"
+        - to:
+            uri: "{{jira.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-oauth-source-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-oauth-source-route.citrus.it.yaml
index 3604fd5c7..e219daafb 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-oauth-source-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-oauth-source-route.citrus.it.yaml
@@ -170,7 +170,7 @@ actions:
                 ]
               }
 
-  # the issue as JSON text (in a stream), as the Jira client reads it
+  # the issue as JSON text in bytes
   - http:
       server: "jiraServer"
       receiveRequest:
@@ -178,7 +178,7 @@ actions:
           path: "/result"
           headers:
             - name: "X-Body-Type"
-              value: 'org.apache.camel.converter.stream.InputStreamCache'
+              value: '[B'
             - name: "X-Content-Type"
               value: 'ct=application/json'
           body:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-source-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-source-route.citrus.it.yaml
index cecbf612b..2db3a827b 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-source-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-source-route.citrus.it.yaml
@@ -204,6 +204,31 @@ actions:
                 ]
               }
 
+  # the issue as JSON text in bytes, with the Content-Type application/json
+  - http:
+      server: "jiraServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          headers:
+            - name: "X-Body-Type"
+              value: '[B'
+            - name: "X-Content-Type"
+              value: 'ct=application/json'
+        validate:
+          - jsonPath:
+              - expression: '$.key'
+                value: '${jira.issue.key}'
+              - expression: '$.summary'
+                value: '${jira.issue.summary}'
+  - http:
+      server: "jiraServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+
   # Verify JIRA source
   - camel:
       cli:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-source-route.yaml 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-source-route.yaml
index e1dcbe818..de18bb00d 100644
--- a/tests/camel-kamelets-itest/src/test/resources/jira/jira-source-route.yaml
+++ b/tests/camel-kamelets-itest/src/test/resources/jira/jira-source-route.yaml
@@ -26,3 +26,12 @@
       steps:
         - to:
             uri: "log:info"
+        # what the Kamelet gives: the Java type of the body and the 
Content-Type
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - to:
+            uri: "{{jira.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.citrus.it.yaml
index f8a534ff1..55193d061 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.citrus.it.yaml
@@ -184,7 +184,7 @@ actions:
                 "updated": "2026-11-19T10:15:31.000+0000"
               }
 
-  # the message is unchanged
+  # the bytes of the body were read as text: the body afterwards is that text, 
with the Content-Type text/plain
   - http:
       server: "jiraServer"
       receiveRequest:
@@ -195,7 +195,7 @@ actions:
             - name: "X-Body-Type"
               value: 'java.lang.String'
             - name: "X-Content-Type"
-              value: 'ct='
+              value: 'ct=text/plain'
             - name: "ce-issueKey"
               value: '${jira.issue.key}'
           body:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
index 360e852ff..5c53ce2f0 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
@@ -24,6 +24,9 @@
       steps:
         - setBody:
             constant: '{{jira.issue.comment}}'
+        # the text as bytes: the Kamelet reads it as text
+        - convertBodyTo:
+            type: "byte[]"
         - setHeader:
             name: ce-issueKey
             constant: '{{jira.issue.key}}'
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-update-issue-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-update-issue-sink-route.citrus.it.yaml
index 16d1c333f..521e43dcf 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-update-issue-sink-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-update-issue-sink-route.citrus.it.yaml
@@ -117,7 +117,7 @@ actions:
           reasonPhrase: "No Content"
           version: "HTTP/1.1"
 
-  # the message is unchanged
+  # the bytes of the body were read as text: the body afterwards is that text, 
with the Content-Type text/plain
   - http:
       server: "jiraServer"
       receiveRequest:
@@ -128,7 +128,7 @@ actions:
             - name: "X-Body-Type"
               value: 'java.lang.String'
             - name: "X-Content-Type"
-              value: 'ct='
+              value: 'ct=text/plain'
             - name: "ce-issueKey"
               value: '${jira.issue.key}'
           body:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-update-issue-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-update-issue-sink-route.yaml
index 48e5cb4a8..1650fdd7a 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-update-issue-sink-route.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/jira/jira-update-issue-sink-route.yaml
@@ -24,6 +24,9 @@
       steps:
         - setBody:
             constant: '{{jira.issue.description}}'
+        # the text as bytes: the Kamelet reads it as text
+        - convertBodyTo:
+            type: "byte[]"
         - setHeader:
             name: ce-issueKey
             constant: '{{jira.issue.key}}'
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
index 4897cd1d2..64e589ba1 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
@@ -114,7 +114,7 @@ actions:
             - name: "X-Result-Type"
               value: 
'org.apache.camel.component.salesforce.api.dto.UpsertSObjectResult'
             - name: "X-Content-Type"
-              value: 'ct='
+              value: 'ct=application/json'
           body:
             data: 
'[{"id":"003000000000001AAA","errors":[],"success":true,"created":true}, 
{"id":null,"errors":[{"errorCode":"REQUIRED_FIELD_MISSING","message":"Required 
fields are missing: 
[LastName]","fields":["LastName"]}],"success":false,"created":false}]'
   - http:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-create-sink-route.citrus.it.yaml
similarity index 73%
copy from 
tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
copy to 
tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-create-sink-route.citrus.it.yaml
index 4897cd1d2..54e846dbc 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-create-sink-route.citrus.it.yaml
@@ -15,8 +15,8 @@
 # limitations under the License.
 # ---------------------------------------------------------------------------
 
-name: salesforce-composite-upsert-sink-route-test
-description: 'salesforce-composite-upsert-sink logs in, then sends the records 
of the body in one composite upsert call, matched by the external ID field'
+name: salesforce-create-sink-route-test
+description: 'salesforce-create-sink logs in, then creates a record of 
sObjectName with the fields of the JSON body, sent as they are'
 variables:
   - name: "salesforce.client.id"
     value: "citrus:randomString(20)"
@@ -43,7 +43,7 @@ actions:
           args:
             - "--dep=com.google.protobuf:protobuf-java:4.35.1"
           integration:
-            file: "salesforce/salesforce-composite-upsert-sink-route.yaml"
+            file: "salesforce/salesforce-create-sink-route.yaml"
             systemProperties:
               properties:
                 - name: "salesforce.url"
@@ -79,29 +79,29 @@ actions:
           body:
             data: 
'{"access_token":"${salesforce.token}","instance_url":"${salesforce.url}","id":"${salesforce.url}/id/00D000000000001AAA/005000000000001AAA","token_type":"Bearer","issued_at":"1763550000000","signature":"c2lnbmF0dXJl"}'
 
-  # the records in one call, matched by the external ID field
+  # the fields of the body, sent as they are
   - http:
       server: "servicesServer"
       receiveRequest:
-        PATCH:
-          path: 
"/services/data/v56.0/composite/sobjects/Contact/External_Id__c"
+        POST:
+          path: "/services/data/v56.0/sobjects/Contact"
           headers:
             - name: Authorization
               value: "Bearer ${salesforce.token}"
           body:
-            data: 
'{"allOrNone":false,"records":[{"attributes":{"type":"Contact"},"External_Id__c":"C-1","LastName":"Lovelace"},{"attributes":{"type":"Contact"},"External_Id__c":"C-2","FirstName":"Grace"}]}'
+            data: '{"LastName":"Lovelace","Email":"[email protected]"}'
   - http:
       server: "servicesServer"
       sendResponse:
         response:
-          status: 200
-          reasonPhrase: "OK"
+          status: 201
+          reasonPhrase: "Created"
           version: "HTTP/1.1"
           contentType: "application/json"
           body:
-            data: 
'[{"id":"003000000000001AAA","success":true,"errors":[],"created":true},{"id":null,"success":false,"errors":[{"statusCode":"REQUIRED_FIELD_MISSING","message":"Required
 fields are missing: [LastName]","fields":["LastName"]}],"created":false}]'
+            data: '{"id":"003000000000001AAA","success":true,"errors":[]}'
 
-  # the body afterwards: a List with one result per record, in the same order 
(sent here as its text)
+  # the body afterwards: the answer of Salesforce as JSON text (in a stream); 
the Content-Type is the one of the body that went in
   - http:
       server: "servicesServer"
       receiveRequest:
@@ -110,13 +110,11 @@ actions:
           type: "plaintext"
           headers:
             - name: "X-Body-Type"
-              value: 'java.util.ArrayList'
-            - name: "X-Result-Type"
-              value: 
'org.apache.camel.component.salesforce.api.dto.UpsertSObjectResult'
+              value: 
'org.apache.camel.converter.stream.ByteArrayInputStreamCache'
             - name: "X-Content-Type"
-              value: 'ct='
+              value: 'ct=application/json'
           body:
-            data: 
'[{"id":"003000000000001AAA","errors":[],"success":true,"created":true}, 
{"id":null,"errors":[{"errorCode":"REQUIRED_FIELD_MISSING","message":"Required 
fields are missing: 
[LastName]","fields":["LastName"]}],"success":false,"created":false}]'
+            data: '{"id":"003000000000001AAA","success":true,"errors":[]}'
   - http:
       server: "servicesServer"
       sendResponse:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-create-sink-route.yaml
similarity index 68%
copy from 
tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
copy to 
tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-create-sink-route.yaml
index 360e852ff..26555345b 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-create-sink-route.yaml
@@ -23,23 +23,16 @@
         repeatCount: 1
       steps:
         - setBody:
-            constant: '{{jira.issue.comment}}'
-        - setHeader:
-            name: ce-issueKey
-            constant: '{{jira.issue.key}}'
-        - setHeader:
-            name: ce-issueTransitionId
-            constant: '{{jira.transition.id}}'
-        # a header that must not reach the Jira component: the Kamelet removes 
it first
-        - setHeader:
-            name: CamelJiraIssueTransitionId
-            constant: '999'
+            constant: '{"LastName":"Lovelace","Email":"[email protected]"}'
         - to:
-            uri: "kamelet:jira-transition-issue-sink"
+            uri: "kamelet:salesforce-create-sink"
             parameters:
-              jiraUrl: '{{jira.url}}'
-              username: '{{jira.username}}'
-              password: '{{jira.password}}'
+              sObjectName: Contact
+              loginUrl: '{{salesforce.url}}'
+              clientId: '{{salesforce.client.id}}'
+              clientSecret: '{{salesforce.client.secret}}'
+              userName: '{{salesforce.username}}'
+              password: '{{salesforce.password}}'
         # what the Kamelet leaves: the Java type of the body and the 
Content-Type
         - setHeader:
             name: X-Body-Type
@@ -47,5 +40,7 @@
         - setHeader:
             name: X-Content-Type
             simple: "ct=${header.Content-Type}"
+        - setBody:
+            simple: "${bodyAs(String)}"
         - to:
-            uri: "{{jira.url}}/result"
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-delete-sink-route.citrus.it.yaml
similarity index 70%
copy from 
tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
copy to 
tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-delete-sink-route.citrus.it.yaml
index 4897cd1d2..0ba2755f6 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-delete-sink-route.citrus.it.yaml
@@ -15,8 +15,8 @@
 # limitations under the License.
 # ---------------------------------------------------------------------------
 
-name: salesforce-composite-upsert-sink-route-test
-description: 'salesforce-composite-upsert-sink logs in, then sends the records 
of the body in one composite upsert call, matched by the external ID field'
+name: salesforce-delete-sink-route-test
+description: 'salesforce-delete-sink logs in, then deletes the record of the 
sObjectName and sObjectId fields of the JSON body'
 variables:
   - name: "salesforce.client.id"
     value: "citrus:randomString(20)"
@@ -43,7 +43,7 @@ actions:
           args:
             - "--dep=com.google.protobuf:protobuf-java:4.35.1"
           integration:
-            file: "salesforce/salesforce-composite-upsert-sink-route.yaml"
+            file: "salesforce/salesforce-delete-sink-route.yaml"
             systemProperties:
               properties:
                 - name: "salesforce.url"
@@ -79,44 +79,34 @@ actions:
           body:
             data: 
'{"access_token":"${salesforce.token}","instance_url":"${salesforce.url}","id":"${salesforce.url}/id/00D000000000001AAA/005000000000001AAA","token_type":"Bearer","issued_at":"1763550000000","signature":"c2lnbmF0dXJl"}'
 
-  # the records in one call, matched by the external ID field
+  # the record of sObjectName and sObjectId
   - http:
       server: "servicesServer"
       receiveRequest:
-        PATCH:
-          path: 
"/services/data/v56.0/composite/sobjects/Contact/External_Id__c"
+        DELETE:
+          path: "/services/data/v56.0/sobjects/Contact/003000000000001AAA"
           headers:
             - name: Authorization
               value: "Bearer ${salesforce.token}"
-          body:
-            data: 
'{"allOrNone":false,"records":[{"attributes":{"type":"Contact"},"External_Id__c":"C-1","LastName":"Lovelace"},{"attributes":{"type":"Contact"},"External_Id__c":"C-2","FirstName":"Grace"}]}'
   - http:
       server: "servicesServer"
       sendResponse:
         response:
-          status: 200
-          reasonPhrase: "OK"
+          status: 204
+          reasonPhrase: "No Content"
           version: "HTTP/1.1"
-          contentType: "application/json"
-          body:
-            data: 
'[{"id":"003000000000001AAA","success":true,"errors":[],"created":true},{"id":null,"success":false,"errors":[{"statusCode":"REQUIRED_FIELD_MISSING","message":"Required
 fields are missing: [LastName]","fields":["LastName"]}],"created":false}]'
 
-  # the body afterwards: a List with one result per record, in the same order 
(sent here as its text)
+  # the body afterwards is empty (so the HTTP call is a GET)
   - http:
       server: "servicesServer"
       receiveRequest:
-        POST:
+        GET:
           path: "/result"
-          type: "plaintext"
           headers:
-            - name: "X-Body-Type"
-              value: 'java.util.ArrayList'
-            - name: "X-Result-Type"
-              value: 
'org.apache.camel.component.salesforce.api.dto.UpsertSObjectResult'
+            - name: "X-Body"
+              value: 'body='
             - name: "X-Content-Type"
-              value: 'ct='
-          body:
-            data: 
'[{"id":"003000000000001AAA","errors":[],"success":true,"created":true}, 
{"id":null,"errors":[{"errorCode":"REQUIRED_FIELD_MISSING","message":"Required 
fields are missing: 
[LastName]","fields":["LastName"]}],"success":false,"created":false}]'
+              value: 'ct=application/json'
   - http:
       server: "servicesServer"
       sendResponse:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-delete-sink-route.yaml
similarity index 60%
copy from 
tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
copy to 
tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-delete-sink-route.yaml
index 360e852ff..bc646f503 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-delete-sink-route.yaml
@@ -23,29 +23,21 @@
         repeatCount: 1
       steps:
         - setBody:
-            constant: '{{jira.issue.comment}}'
-        - setHeader:
-            name: ce-issueKey
-            constant: '{{jira.issue.key}}'
-        - setHeader:
-            name: ce-issueTransitionId
-            constant: '{{jira.transition.id}}'
-        # a header that must not reach the Jira component: the Kamelet removes 
it first
-        - setHeader:
-            name: CamelJiraIssueTransitionId
-            constant: '999'
+            constant: 
'{"sObjectName":"Contact","sObjectId":"003000000000001AAA"}'
         - to:
-            uri: "kamelet:jira-transition-issue-sink"
+            uri: "kamelet:salesforce-delete-sink"
             parameters:
-              jiraUrl: '{{jira.url}}'
-              username: '{{jira.username}}'
-              password: '{{jira.password}}'
-        # what the Kamelet leaves: the Java type of the body and the 
Content-Type
+              loginUrl: '{{salesforce.url}}'
+              clientId: '{{salesforce.client.id}}'
+              clientSecret: '{{salesforce.client.secret}}'
+              userName: '{{salesforce.username}}'
+              password: '{{salesforce.password}}'
+        # what the Kamelet leaves: whether the body is empty, and the 
Content-Type
         - setHeader:
-            name: X-Body-Type
-            simple: "${body.getClass().getName()}"
+            name: X-Body
+            simple: "body=${body}"
         - setHeader:
             name: X-Content-Type
             simple: "ct=${header.Content-Type}"
         - to:
-            uri: "{{jira.url}}/result"
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-update-sink-route.citrus.it.yaml
similarity index 72%
copy from 
tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
copy to 
tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-update-sink-route.citrus.it.yaml
index 4897cd1d2..d24a5a500 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-composite-upsert-sink-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-update-sink-route.citrus.it.yaml
@@ -15,8 +15,8 @@
 # limitations under the License.
 # ---------------------------------------------------------------------------
 
-name: salesforce-composite-upsert-sink-route-test
-description: 'salesforce-composite-upsert-sink logs in, then sends the records 
of the body in one composite upsert call, matched by the external ID field'
+name: salesforce-update-sink-route-test
+description: 'salesforce-update-sink logs in, then changes the record of 
sObjectName and sObjectId with the fields of payload'
 variables:
   - name: "salesforce.client.id"
     value: "citrus:randomString(20)"
@@ -43,7 +43,7 @@ actions:
           args:
             - "--dep=com.google.protobuf:protobuf-java:4.35.1"
           integration:
-            file: "salesforce/salesforce-composite-upsert-sink-route.yaml"
+            file: "salesforce/salesforce-update-sink-route.yaml"
             systemProperties:
               properties:
                 - name: "salesforce.url"
@@ -79,29 +79,26 @@ actions:
           body:
             data: 
'{"access_token":"${salesforce.token}","instance_url":"${salesforce.url}","id":"${salesforce.url}/id/00D000000000001AAA/005000000000001AAA","token_type":"Bearer","issued_at":"1763550000000","signature":"c2lnbmF0dXJl"}'
 
-  # the records in one call, matched by the external ID field
+  # only the fields of payload, for the record of sObjectName and sObjectId
   - http:
       server: "servicesServer"
       receiveRequest:
         PATCH:
-          path: 
"/services/data/v56.0/composite/sobjects/Contact/External_Id__c"
+          path: "/services/data/v56.0/sobjects/Contact/003000000000001AAA"
           headers:
             - name: Authorization
               value: "Bearer ${salesforce.token}"
           body:
-            data: 
'{"allOrNone":false,"records":[{"attributes":{"type":"Contact"},"External_Id__c":"C-1","LastName":"Lovelace"},{"attributes":{"type":"Contact"},"External_Id__c":"C-2","FirstName":"Grace"}]}'
+            data: '{"Phone":"+45 1234 5678"}'
   - http:
       server: "servicesServer"
       sendResponse:
         response:
-          status: 200
-          reasonPhrase: "OK"
+          status: 204
+          reasonPhrase: "No Content"
           version: "HTTP/1.1"
-          contentType: "application/json"
-          body:
-            data: 
'[{"id":"003000000000001AAA","success":true,"errors":[],"created":true},{"id":null,"success":false,"errors":[{"statusCode":"REQUIRED_FIELD_MISSING","message":"Required
 fields are missing: [LastName]","fields":["LastName"]}],"created":false}]'
 
-  # the body afterwards: a List with one result per record, in the same order 
(sent here as its text)
+  # the body afterwards: the payload as JSON text
   - http:
       server: "servicesServer"
       receiveRequest:
@@ -110,13 +107,11 @@ actions:
           type: "plaintext"
           headers:
             - name: "X-Body-Type"
-              value: 'java.util.ArrayList'
-            - name: "X-Result-Type"
-              value: 
'org.apache.camel.component.salesforce.api.dto.UpsertSObjectResult'
+              value: 'org.apache.camel.converter.stream.InputStreamCache'
             - name: "X-Content-Type"
-              value: 'ct='
+              value: 'ct=application/json'
           body:
-            data: 
'[{"id":"003000000000001AAA","errors":[],"success":true,"created":true}, 
{"id":null,"errors":[{"errorCode":"REQUIRED_FIELD_MISSING","message":"Required 
fields are missing: 
[LastName]","fields":["LastName"]}],"success":false,"created":false}]'
+            data: '{"Phone":"+45 1234 5678"}'
   - http:
       server: "servicesServer"
       sendResponse:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-update-sink-route.yaml
similarity index 68%
copy from 
tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
copy to 
tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-update-sink-route.yaml
index 360e852ff..24390b86e 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/jira/jira-transition-issue-sink-route.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/salesforce/salesforce-update-sink-route.yaml
@@ -23,23 +23,15 @@
         repeatCount: 1
       steps:
         - setBody:
-            constant: '{{jira.issue.comment}}'
-        - setHeader:
-            name: ce-issueKey
-            constant: '{{jira.issue.key}}'
-        - setHeader:
-            name: ce-issueTransitionId
-            constant: '{{jira.transition.id}}'
-        # a header that must not reach the Jira component: the Kamelet removes 
it first
-        - setHeader:
-            name: CamelJiraIssueTransitionId
-            constant: '999'
+            constant: 
'{"sObjectName":"Contact","sObjectId":"003000000000001AAA","payload":{"Phone":"+45
 1234 5678"}}'
         - to:
-            uri: "kamelet:jira-transition-issue-sink"
+            uri: "kamelet:salesforce-update-sink"
             parameters:
-              jiraUrl: '{{jira.url}}'
-              username: '{{jira.username}}'
-              password: '{{jira.password}}'
+              loginUrl: '{{salesforce.url}}'
+              clientId: '{{salesforce.client.id}}'
+              clientSecret: '{{salesforce.client.secret}}'
+              userName: '{{salesforce.username}}'
+              password: '{{salesforce.password}}'
         # what the Kamelet leaves: the Java type of the body and the 
Content-Type
         - setHeader:
             name: X-Body-Type
@@ -47,5 +39,7 @@
         - setHeader:
             name: X-Content-Type
             simple: "ct=${header.Content-Type}"
+        - setBody:
+            simple: "${bodyAs(String)}"
         - to:
-            uri: "{{jira.url}}/result"
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/slack/slack-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/slack/slack-sink-route.citrus.it.yaml
index c0cfa23b2..386ae69ff 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/slack/slack-sink-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/slack/slack-sink-route.citrus.it.yaml
@@ -72,6 +72,29 @@ actions:
           reasonPhrase: "OK"
           version: "HTTP/1.1"
 
+  # the message is unchanged: the bytes of the body, with the Content-Type 
text/plain of timer-source
+  - http:
+      server: "slackSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: '[B'
+            - name: "X-Content-Type"
+              value: 'ct=text/plain'
+          body:
+            data: '${slack.message}'
+
+  - http:
+      server: "slackSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+
   # Verify Slack sink
   - camel:
       cli:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/slack/slack-sink-route.yaml 
b/tests/camel-kamelets-itest/src/test/resources/slack/slack-sink-route.yaml
index 90a332abc..9973f37ff 100644
--- a/tests/camel-kamelets-itest/src/test/resources/slack/slack-sink-route.yaml
+++ b/tests/camel-kamelets-itest/src/test/resources/slack/slack-sink-route.yaml
@@ -20,15 +20,28 @@
       uri: "kamelet:timer-source"
       parameters:
         period: '{{timer.source.period}}'
+        repeatCount: 1
         message: '{{slack.message}}'
       steps:
         - to:
             uri: "kamelet:log-action"
             parameters:
               showHeaders: true
+        # the text as bytes: the Slack component reads it as text, and the 
body is left as it is
+        - convertBodyTo:
+            type: "byte[]"
         - to:
             uri: "kamelet:slack-sink"
             parameters:
               webhookUrl: '{{slack.server.url}}'
               channel: '{{slack.channel}}'
               token: '{{slack.token}}'
+        # what the Kamelet leaves: the Java type of the body and the 
Content-Type
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - to:
+            uri: "{{slack.server.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/snmp/snmp-source-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/snmp/snmp-source-route.citrus.it.yaml
index efffb63b2..47f176511 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/snmp/snmp-source-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/snmp/snmp-source-route.citrus.it.yaml
@@ -58,7 +58,7 @@ actions:
             - name: "X-Body-Type"
               value: 'java.lang.String'
             - name: "X-Content-Type"
-              value: 'ct='
+              value: 'ct=text/plain'
           body:
             data: '<snmp><entry><oid>1.3.6.1.2.1.1.6.0</oid><value>Unknown 
(edit 
/etc/snmp/snmpd.conf)</value></entry><entry><oid>1.3.6.1.2.1.1.4.0</oid><value>Root
 &lt;root@localhost&gt; (configure 
/etc/snmp/snmp.local.conf)</value></entry></snmp>'
   - http:
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/telegram/telegram-source-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/telegram/telegram-source-route.citrus.it.yaml
index deb45ee27..96d8101d5 100644
--- 
a/tests/camel-kamelets-itest/src/test/resources/telegram/telegram-source-route.citrus.it.yaml
+++ 
b/tests/camel-kamelets-itest/src/test/resources/telegram/telegram-source-route.citrus.it.yaml
@@ -54,7 +54,7 @@ actions:
           body:
             data: 
'{"ok":true,"result":[{"update_id":100,"message":{"message_id":7,"from":{"id":4711,"is_bot":false,"first_name":"Ada","username":"ada"},"chat":{"id":4711,"first_name":"Ada","type":"private"},"date":1763550000,"text":"Hello
 bot"}}]}'
 
-  # the message as JSON text, as the Telegram component reads it (with all its 
fields, also the empty ones),
+  # the message as JSON text in bytes, as the Telegram component reads it 
(with all its fields, also the empty ones),
   # with the chat in the headers
   - http:
       server: "servicesServer"
@@ -63,7 +63,7 @@ actions:
           path: "/result"
           headers:
             - name: "X-Body-Type"
-              value: 'org.apache.camel.converter.stream.InputStreamCache'
+              value: '[B'
             - name: "X-Content-Type"
               value: 'ct=application/json'
             - name: "chat-id"

Reply via email to