[
https://issues.apache.org/jira/browse/CAMEL-21286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885992#comment-17885992
]
Adriano Machado commented on CAMEL-21286:
-----------------------------------------
[~davsclaus], in this example, classes are annotated with the JAXB annotations,
and the file `jaxb.index` is present on the package, as long with the episode
file at `META-INF/sun-jaxb.episode`.
What is there to note is that the XML namespace is
"http://www.company.com/schemas/private/1", which generates classes on the
`com.company.schemas._private._1`, but I'm not sure this could cause any
problem with the converters.
> 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
> Attachments: Screenshot 1.png, Screenshot 2.png
>
>
> 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)