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

acosentino 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 0d223a7b Salesforce Source Kamelet: Add ReplayId as parameter (#2185)
0d223a7b is described below

commit 0d223a7bab7193facbf78ede48dd6f8903500f7c
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Mon Sep 9 10:39:27 2024 +0200

    Salesforce Source Kamelet: Add ReplayId as parameter (#2185)
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 kamelets/salesforce-source.kamelet.yaml                              | 5 +++++
 .../src/main/resources/kamelets/salesforce-source.kamelet.yaml       | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/kamelets/salesforce-source.kamelet.yaml 
b/kamelets/salesforce-source.kamelet.yaml
index 0f15277c..2e611477 100644
--- a/kamelets/salesforce-source.kamelet.yaml
+++ b/kamelets/salesforce-source.kamelet.yaml
@@ -118,6 +118,10 @@ spec:
         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
+      replayId:
+        title: Replay Id
+        description: The replayId value to use when subscribing to the 
Streaming API.
+        type: long
   types:
     out:
       mediaType: application/json
@@ -146,6 +150,7 @@ spec:
         notifyForOperationUndelete: "{{notifyForOperationUndelete}}"
         sObjectQuery: "{{query}}"
         rawPayload: "{{rawPayload}}"
+        replayId: "{{?replayId}}"
       steps:
       - marshal:
           json: {}
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 0f15277c..2e611477 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
@@ -118,6 +118,10 @@ spec:
         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
+      replayId:
+        title: Replay Id
+        description: The replayId value to use when subscribing to the 
Streaming API.
+        type: long
   types:
     out:
       mediaType: application/json
@@ -146,6 +150,7 @@ spec:
         notifyForOperationUndelete: "{{notifyForOperationUndelete}}"
         sObjectQuery: "{{query}}"
         rawPayload: "{{rawPayload}}"
+        replayId: "{{?replayId}}"
       steps:
       - marshal:
           json: {}

Reply via email to