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 2021/11/24 09:31:09 UTC

[camel-kamelets] 01/03: Do not use kamelet-reify anymore - Salesforce Source Kamelet

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

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

commit d38d7a135679c56f7813606c6d70479af240324c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 24 10:27:04 2021 +0100

    Do not use kamelet-reify anymore - Salesforce Source Kamelet
---
 salesforce-source.kamelet.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/salesforce-source.kamelet.yaml b/salesforce-source.kamelet.yaml
index 1c24885..5775fcc 100644
--- a/salesforce-source.kamelet.yaml
+++ b/salesforce-source.kamelet.yaml
@@ -78,11 +78,13 @@ spec:
   dependencies:
   - "camel:jackson"
   - "camel:salesforce"
-  - "mvn:org.apache.camel.k:camel-k-kamelet-reify"
   - "camel:kamelet"
   flow:
+    beans:
+      - name: local-salesforce
+        type: "#class:org.apache.camel.component.salesforce.SalesforceComponent"
     from:
-      uri: "kamelet-reify:salesforce:{{topicName}}"
+      uri: "{{local-salesforce}}:{{topicName}}"
       parameters:
         clientId: "{{clientId}}"
         clientSecret: "{{clientSecret}}"