[ https://issues.apache.org/jira/browse/CAMEL-19181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-19181: -------------------------------- Component/s: camel-spring-boot-starters > camel-springboot - mapstruct component is not autoconfigured automatically > -------------------------------------------------------------------------- > > Key: CAMEL-19181 > URL: https://issues.apache.org/jira/browse/CAMEL-19181 > Project: Camel > Issue Type: Bug > Components: camel-spring-boot-starters > Affects Versions: 3.20.2 > Reporter: Federico Mariani > Assignee: Luigi De Masi > Priority: Major > Fix For: 3.20.3, 3.21.0, 4.0-M3, 4.0 > > Attachments: mapstruct-test.zip > > > In a Camel Spring Boot application MapStruct component is not autoconfigured > automatically, as you can see from the reproducer, even if > application.properties contains > _camel.component.mapstruct.mapper-package-name_ the component is not > registered into the camel context, therefore the converter is not found and > the following exception is raised: > _NoTypeConversionAvailableException: No type converter available to convert > from type: org.jboss.fuse.tnb.universal.component.mapstruct.Car to the > required type: org.jboss.fuse.tnb.universal.component.mapstruct.CarDto_ > By uncommenting lines MyRouteBuilder:18 and MyRouteBuilder:19, the reproducer > works, but I think that Camel Spring Boot should configure the component > automatically. -- This message was sent by Atlassian Jira (v8.20.10#820010)