salesforce delete sink Salesforce Delete Sink

Provided by: "Apache Software Foundation"

Support Level for this Kamelet is: "Stable"

Remove an object from Salesforce.

The data body must be JSON-formatted and it must contain two keys: sObjectId and sObjectName. For example: { "sObjectId": "XXXXX0", "sObjectName": "Contact" }

Configuration Options

The following table summarizes the configuration options available for the salesforce-delete-sink Kamelet:

Property Name Description Type Default Example

clientId

Consumer Key

Required The Salesforce application consumer key.

string

clientSecret

Consumer Secret

Required The Salesforce application consumer secret.

string

password

Password

Required The Salesforce user password.

string

userName

Username

Required The Salesforce username.

string

loginUrl

Login URL

The Salesforce instance login URL.

string

https://login.salesforce.com

Dependencies

At runtime, the salesforce-delete-sink Kamelet relies upon the presence of the following dependencies:

  • camel:salesforce

  • camel:kamelet

  • camel:core

  • camel:jsonpath

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-delete-sink"

You can now run it directly through the following command

camel run route.yaml