第96章 MapStruct
Camel 3.19 以降
producer のみサポート対象。
camel-mapstruct コンポーネントは、MapStruct を使用して POJO を変換するために使用されます。
96.1. 依存関係
Red Hat build of Camel Spring Boot で mapstruct
を使用する場合は、自動設定をサポートするために、次の Maven 依存関係を必ず使用してください。
<dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-mapstruct-starter</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-mapstruct-starter</artifactId>
</dependency>