第119章 Spring WebService
Camel 2.6 以降
producer と consumer の両方がサポート対象
Spring WS コンポーネントを使用すると、Spring Web Services と統合できます。Web サービスにアクセスするための クライアント 側のサポートと、独自のコントラクト優先の Web サービスを作成するための サーバー 側のサポートの両方を提供します。
119.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>