第 95 章 MapStruct
自 Camel 3.19 起
仅支持生成者。
camel-mapstruct 组件用于使用 MapStruct 转换 POJO。
95.1. 依赖项
当在 Red Hat build of Camel Spring Boot 中使用 mapstruct
时,请确保使用以下 Maven 依赖项来支持自动配置:
<dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-mapstruct-starter</artifactId> </dependency>