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

2016-07-04 Thread Andrea Cosentino (JIRA)

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

Andrea Cosentino commented on CAMEL-10043:
--

We should add a note to docs about this. Thanks 
[~pascal.schumac...@t-systems.com] :-)

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


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

2016-07-04 Thread Pascal Schumacher (JIRA)

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

Pascal Schumacher commented on CAMEL-10043:
---

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)


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

2016-06-10 Thread Andrea Cosentino (JIRA)

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

Andrea Cosentino commented on CAMEL-10043:
--

We should set the ObjectFactory option to false for the DataFormat too.

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