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 2022/03/03 15:40:56 UTC

[camel-kamelets] branch main updated: salesforce: fix SalesforceComponent beanc reation

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 5e4d452  salesforce: fix SalesforceComponent beanc reation
5e4d452 is described below

commit 5e4d452b33f60ae91006aef4904225e317522f6b
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Tue Feb 22 18:54:23 2022 +0100

    salesforce: fix SalesforceComponent beanc reation
---
 kamelets/salesforce-source.kamelet.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelets/salesforce-source.kamelet.yaml b/kamelets/salesforce-source.kamelet.yaml
index 3d20d4c..68e384c 100644
--- a/kamelets/salesforce-source.kamelet.yaml
+++ b/kamelets/salesforce-source.kamelet.yaml
@@ -99,11 +99,12 @@ spec:
     beans:
       - name: local-salesforce
         type: "#class:org.apache.camel.component.salesforce.SalesforceComponent"
-        parameters:
+        properties:
           clientId: "{{clientId}}"
           clientSecret: "{{clientSecret}}"
           userName: "{{userName}}"
           password: "{{password}}"
+          loginUrl: "{{loginUrl}}"
     from:
       uri: "{{local-salesforce}}:{{topicName}}"
       parameters:
@@ -114,7 +115,6 @@ spec:
         notifyForOperationDelete: "false"
         notifyForOperationUndelete: "false"
         sObjectQuery: "{{query}}"
-        loginUrl: "{{loginUrl}}"
       steps:
       - marshal:
           json: {}