camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CAMEL-10043) Camel-Jaxb: objectFactory is never checked. This leads to performance degradation.
Date Mon, 04 Jul 2016 08:52:11 GMT

    [ 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)

Mime
View raw message