第111章 Salesforce
producer と consumer の両方がサポート対象
このコンポーネントは、Java DTO を使用して Salesforce と通信する producer エンドポイントと consumer エンドポイントをサポートします。
これらの DTO を生成する付属の maven プラグイン Camel Salesforce Plugin があります (以下を参照)。
111.1. 依存関係 リンクのコピーリンクがクリップボードにコピーされました!
Red Hat build of Camel Spring Boot で salesforce を使用する場合は、自動設定をサポートするために、次の Maven 依存関係を必ず使用してください。
<dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-salesforce-starter</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-salesforce-starter</artifactId>
</dependency>
デフォルトでは、camel-salesforce-maven-plugin は TLSv1.3 を使用して salesforce と対話します。TLS バージョンはプラグインで設定できます。FIPS ユーザーは、プロパティー sslContextParameters.secureSocketProtocol を設定できます。maven-plugin を使用するには、次の依存関係を pom.xml ファイルに追加する必要があります。
camel-community.version は、camel-salesforce-maven-plugin の操作時に使用する、対応する Camel コミュニティーバージョンを指します。たとえば、Red Hat build of Camel Spring Boot バージョン 4.4.0 では、Apache Camel の '4.4.0' バージョンを使用できます。