Skip to content

Commit

Permalink
salesforce: move credentials to SalesforceComponent bean
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli authored and oscerd committed Feb 22, 2022
1 parent 04e2487 commit 68bfcc0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions kamelets/salesforce-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,14 @@ spec:
beans:
- name: local-salesforce
type: "#class:org.apache.camel.component.salesforce.SalesforceComponent"
parameters:
clientId: "{{clientId}}"
clientSecret: "{{clientSecret}}"
userName: "{{userName}}"
password: "{{password}}"
from:
uri: "{{local-salesforce}}:{{topicName}}"
parameters:
clientId: "{{clientId}}"
clientSecret: "{{clientSecret}}"
userName: "{{userName}}"
password: "{{password}}"
notifyForFields: "{{notifyForFields}}"
updateTopic: "true"
notifyForOperationCreate: "true"
Expand Down

0 comments on commit 68bfcc0

Please sign in to comment.