第 120 章 Salesforce
支持生成者和消费者
此组件支持生成者和消费者端点,以便使用 Java DTO 与 Salesforce 进行通信。
有生成这些 DTO 的 companion maven 插件 Camel Salesforce 插件(请参阅以下)。
120.1. 依赖项 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
当在红帽构建的 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' 版本。