camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller (Commented) (JIRA) <>
Subject [jira] [Commented] (CAMEL-3776) Add pooling support for JAXB data format
Date Sun, 01 Apr 2012 18:12:26 GMT


Christian Müller commented on CAMEL-3776:

I committed r1308165 which improves the performance significant. I unmarshaled the XML I mentioned
before 10000 times:
before: 7042ms
after: 2884ms

However, I only create an Unmarshaller instance variable at start and with the help of an
ReentrantLock I make sure it's only used one a time. I will let this issue open until others
agree this is the final solution or bring up a better/faster one.
> Add pooling support for JAXB data format
> ----------------------------------------
>                 Key: CAMEL-3776
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jaxb
>            Reporter: Claus Ibsen
>             Fix For: 3.0.0
>         Attachments: jaxb-pool.patch
> We should use the ServicePool in camel-core to pool JAXB / marshaller / unmarshaller.
> Of course ppl should be able to customize pool settings and if to be used.
> Also mind that for type converters with JAXB you do not configure a JAXB data format.
And thus we should
> still be able to configure and use pooling, so the type converter can be more efficient.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message