第 111 章 Salesforce
支持生成者和消费者
此组件支持生产者和消费者端点与 Salesforce 使用 Java DTO 进行通信。
有一个 companion maven plugin Camel Salesforce Plugin 来生成这些 DTO (请参阅以下内容)。
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 社区版本。例如,对于红帽构建的 Camel Spring Boot 版本 4.4.0,您可以使用 Apache Camel 的 '4.4.0' 版本。