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