You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/07/04 08:52:11 UTC

[jira] [Comment Edited] (CAMEL-10043) Camel-Jaxb: objectFactory is never checked. This leads to performance degradation.

    [ https://issues.apache.org/jira/browse/CAMEL-10043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361026#comment-15361026 ] 

Pascal Schumacher edited comment on CAMEL-10043 at 7/4/16 8:51 AM:
-------------------------------------------------------------------

The JaxbDataFormat change (objectFactory=false) breaks marshalling of non-XmlRootElement JaxB objects. In Camel 2.17.1 this worked out of the box, in Camel 2.17.2 you have to call JaxbDataFormat#setObjectFactory(true) to make it work.


was (Author: pascal.schumacher@t-systems.com):
The JaxbDataFormat change (objectFactory=false) breaks marshalling of non-XmlRootElement JaxB objects. In Camel 2.17.1 this worked out of the box, in Camel 2.17.2 you have to call JaxbDataFormat#setObjectFactory(true) to make it work again.

> Camel-Jaxb: objectFactory is never checked. This leads to performance degradation.
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-10043
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10043
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jaxb
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>             Fix For: 2.17.2, 2.18.0
>
>
> Since the option is always true and we have performance degradation we need to set the default to false too.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)