camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbo13 <>
Subject JaxbDataFormat should not parse the Schema over and over again
Date Mon, 07 Apr 2014 11:51:47 GMT

When looking into the JaxbDataFormat I saw that the Schema is parsed for
every method call, which dosn't make sense, since the Schema is threadsafe
(see it's javadoc)
I extended the JaxbDataFormat to cache the Schema and now the parsing is
done about 5-6 times faster.
I also made an jira issue:
If you would prefer a patch file instead of my extended class just let me



View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message