Salesforce Create Sink
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Create an object in Salesforce.
The body of the message must contain the JSON of the Salesforce object, for example: { "Phone": "555", "Name": "Antonia", "LastName": "Garcia" }
.
Configuration Options
The following table summarizes the configuration options available for the salesforce-create-sink
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Consumer Key | Required The Salesforce application consumer key. | string | |||
Consumer Secret | Required The Salesforce application consumer secret. | string | |||
Password | Required The Salesforce user password. | string | |||
Username | Required The Salesforce username. | string | |||
Login URL | The Salesforce instance login URL. | string | |||
Object Name | The type of the object. | string | Contact |
Dependencies
At runtime, the salesforce-create-sink
Kamelet relies upon the presence of the following dependencies:
-
camel:salesforce
-
camel:kamelet
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:timer-source"
parameters:
period: 10000
message: 'test'
steps:
- to:
uri: "kamelet:salesforce-create-sink"
You can now run it directly through the following command
camel run route.yaml