第 129 章 Spring WebService
从 Camel 2.6 开始
支持生成者和消费者
Spring WS 组件允许您与 Spring Web Services 集成。它为访问 Web 服务以及创建您自己的合同第一 Web 服务提供客户端 - 端支持。
129.1. 依赖项 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
当在 Red Hat build of Camel Spring Boot 中使用 spring-ws 时,使用以下 Maven 依赖项来支持自动配置:
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring-ws</artifactId>
<!-- use the same version as your Camel core version -->
</dependency>
使用 BOM 获取版本。
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.redhat.camel.springboot.platform</groupId>
<artifactId>camel-spring-boot-bom</artifactId>
<version>${camel-spring-boot-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>