Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 81D16200B30 for ; Mon, 4 Jul 2016 10:51:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8062D160A6D; Mon, 4 Jul 2016 08:51:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F013C160A55 for ; Mon, 4 Jul 2016 10:51:11 +0200 (CEST) Received: (qmail 30288 invoked by uid 500); 4 Jul 2016 08:51:11 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 30268 invoked by uid 99); 4 Jul 2016 08:51:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2016 08:51:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0D5692C029F for ; Mon, 4 Jul 2016 08:51:11 +0000 (UTC) Date: Mon, 4 Jul 2016 08:51:11 +0000 (UTC) From: "Pascal Schumacher (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-10043) Camel-Jaxb: objectFactory is never checked. This leads to performance degradation. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 04 Jul 2016 08:51:12 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)