You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2024/01/23 10:09:43 UTC

(camel-kamelets) 01/02: Add rawPayload option to Salesforce source connector

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

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

commit 0410e09f4fcad9a494cd464c372f79e3c5a5ab52
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 23 11:06:29 2024 +0100

    Add rawPayload option to Salesforce source connector
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/salesforce-source.kamelet.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/kamelets/salesforce-source.kamelet.yaml b/kamelets/salesforce-source.kamelet.yaml
index 41439570..081d693b 100644
--- a/kamelets/salesforce-source.kamelet.yaml
+++ b/kamelets/salesforce-source.kamelet.yaml
@@ -113,6 +113,11 @@ spec:
         description: The operation to use
         type: string
         default: subscribe
+      rawPayload:
+        title: Raw Payload
+        description: Use raw payload String for request and response (either JSON or XML depending on format), instead of DTOs, false by default.
+        type: boolean
+        default: false
   types:
     out:
       mediaType: application/json
@@ -140,6 +145,7 @@ spec:
         notifyForOperationDelete: "{{notifyForOperationDelete}}"
         notifyForOperationUndelete: "{{notifyForOperationUndelete}}"
         sObjectQuery: "{{query}}"
+        rawPayload: "{{rawPayload}}"
       steps:
       - marshal:
           json: {}