You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/05/07 14:07:41 UTC
[GitHub] [camel-quarkus] jamesnetherton commented on a change in pull request #2560: Custom TypeConverter is not automatically registered #2260
jamesnetherton commented on a change in pull request #2560:
URL: https://github.com/apache/camel-quarkus/pull/2560#discussion_r628195026
##########
File path: extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
##########
@@ -248,6 +251,14 @@ CamelTypeConverterRegistryBuildItem typeConverterRegistry(
}
}
+ Set<Class> convertersClasses = index
+ .getAnnotations(DotName.createSimple(Converter.class.getName()))
Review comment:
We probably need to do some more filtering here. I think we only really want to scan converters added by the user. Otherwise it'll pick up the internal camel converters which already have their own loader classes etc.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org