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:44 UTC
(camel-kamelets) 02/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 e515e62cdb7be7bb434301a598e03b0af1b65730
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 23 11:07:18 2024 +0100
Add rawPayload option to Salesforce source connector
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../src/main/resources/kamelets/salesforce-source.kamelet.yaml | 6 ++++++
1 file changed, 6 insertions(+)
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 41439570..081d693b 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
@@ -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: {}