Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D747818217 for ; Thu, 28 Jan 2016 10:27:40 +0000 (UTC) Received: (qmail 888 invoked by uid 500); 28 Jan 2016 10:27:40 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 838 invoked by uid 500); 28 Jan 2016 10:27:40 -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 805 invoked by uid 99); 28 Jan 2016 10:27:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2016 10:27:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5C1412C1F5C for ; Thu, 28 Jan 2016 10:27:40 +0000 (UTC) Date: Thu, 28 Jan 2016 10:27:40 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-9545) Dozer classloading may fail with spring based context MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-9545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15121172#comment-15121172 ] ASF GitHub Bot commented on CAMEL-9545: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/camel/pull/814 > Dozer classloading may fail with spring based context > ----------------------------------------------------- > > Key: CAMEL-9545 > URL: https://issues.apache.org/jira/browse/CAMEL-9545 > Project: Camel > Issue Type: Bug > Components: camel-dozer > Reporter: Thomas Diesler > Fix For: 2.17.0, 2.16.3 > > > Dozer assumes that it can load user types from the classloader of the dozer implementation, which is of course quite wrong in a modular environment. In Camel we have a hack in DozerTypeConverterLoader, which prior to creating the bean mapper forces the classLoaderBeanName in GlobalSettings to DozerThreadContextClassLoader and then initialises the TCCL with the application ClassLoader associated with the CamelContext. > With a spring based context, this code path is not executed and therefore the application ClassLoader associated with the CamelContext ignored. -- This message was sent by Atlassian JIRA (v6.3.4#6332)