이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 65. Salesforce Source
Receive updates from Salesforce.
65.1. Configuration Options 링크 복사링크가 클립보드에 복사되었습니다!
The following table summarizes the configuration options available for the salesforce-source Kamelet:
| Property | Name | Description | Type | Default | Example |
|---|---|---|---|---|---|
| clientId * | Consumer Key | The Salesforce application consumer key. | string | ||
| clientSecret * | Consumer Secret | The Salesforce application consumer secret. | string | ||
| password * | Password | The Salesforce user password. | string | ||
| query * | Query | The query to execute on Salesforce. | string | SELECT Id, Name, Email, Phone FROM Contact | |
| topicName * | Topic Name | The name of the topic or channel. | string | ContactTopic | |
| userName * | Username | The Salesforce username. | string | ||
| loginUrl | Login URL | The Salesforce instance login URL. | string | ||
| notifyForFields | Notify For Fields | Notify for fields. | string | ALL | |
| notifyForOperationCreate | Notify Operation Create | Notify for create operation. | boolean | True | |
| notifyForOperationDelete | Notify Operation Delete | Notify for delete operation. | boolean | False | |
| notifyForOperationUndelete | Notify Operation Undelete | Notify for undelete operation. | boolean | False | |
| notifyForOperationUpdate | Notify Operation Update | Notify for update operation. | boolean | False | |
| operation | Operation | The operation to use | string | subscribe | |
| rawPayload | Raw Payload | Use raw payload String for request and response (either JSON or XML depending on format), instead of DTOs, false by default. | boolean | False | |
| replayId | Replay Id | The replayId value to use when subscribing to the Streaming API. | long |
* = Fields marked with an asterisk are mandatory.
65.2. Dependencies 링크 복사링크가 클립보드에 복사되었습니다!
65.2.1. Quarkus dependencies 링크 복사링크가 클립보드에 복사되었습니다!
65.3. Usage 링크 복사링크가 클립보드에 복사되었습니다!
65.3.1. Camel JBang usage 링크 복사링크가 클립보드에 복사되었습니다!
65.3.1.1. Prerequisites for JBang 링크 복사링크가 클립보드에 복사되었습니다!
- Install JBang.
You have executed the following command:
jbang app install camel@apache/camel
jbang app install camel@apache/camelCopy to Clipboard Copied! Toggle word wrap Toggle overflow
65.3.1.2. Running a route with JBang 링크 복사링크가 클립보드에 복사되었습니다!
Suppose you have a file named route.yaml with this content:
You can now run it directly through the following command.
camel run route.yaml
camel run route.yaml
65.3.2. Knative Source 링크 복사링크가 클립보드에 복사되었습니다!
You can use the salesforce-source Kamelet as a Knative source by binding it to a Knative object.
salesforce-source-binding.yaml
65.3.3. Kafka Source 링크 복사링크가 클립보드에 복사되었습니다!
You can use the salesforce-source Kamelet as a Kafka source by binding it to a Kafka topic.
salesforce-source-binding.yaml