[ https://issues.apache.org/jira/browse/CAMEL-21286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885430#comment-17885430 ]
Claus Ibsen commented on CAMEL-21286: ------------------------------------- Can you tell more what exactly you are doing as this is in camel-jaxb that can be used as "jaxb" data format, or as some legacy JAXB type converter for XML to POJO classes. What is it that makes it expensive, and do you only see this on a fat-jar SB on OCP or would it also be "slow" running local with mvn spring:boot in developer mode. > Add a cache to JAXB object factories on JAXB Marshalling/Fallback converter > --------------------------------------------------------------------------- > > Key: CAMEL-21286 > URL: https://issues.apache.org/jira/browse/CAMEL-21286 > Project: Camel > Issue Type: Improvement > Components: camel-jaxb > Affects Versions: 4.4.3 > Reporter: Adriano Machado > Priority: Major > > Camel is calling `JaxbHelper.getJaxbElementFactoryMethod` and the result is > not being cached. This expensive call on apps with schemas deployed on nested > jars on Spring Boot apps running on Openshift. -- This message was sent by Atlassian Jira (v8.20.10#820010)