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 A99A117A33 for ; Fri, 17 Apr 2015 04:14:57 +0000 (UTC) Received: (qmail 54614 invoked by uid 500); 17 Apr 2015 04:05:20 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 34893 invoked by uid 500); 17 Apr 2015 04:05:04 -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 15014 invoked by uid 99); 17 Apr 2015 02:50:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2015 02:50:58 +0000 Date: Fri, 17 Apr 2015 02:50:58 +0000 (UTC) From: "Willem Jiang (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-8642) Support to use custom classloader when deserializeJavaObjectFromStream in HttpHelper 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-8642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang updated CAMEL-8642: -------------------------------- Summary: Support to use custom classloader when deserializeJavaObjectFromStream in HttpHelper (was: Support to use custom classloader when deserializeJavaObjectFromStream.) > Support to use custom classloader when deserializeJavaObjectFromStream in HttpHelper > ------------------------------------------------------------------------------------ > > Key: CAMEL-8642 > URL: https://issues.apache.org/jira/browse/CAMEL-8642 > Project: Camel > Issue Type: Improvement > Reporter: Willem Jiang > Assignee: Willem Jiang > Fix For: 2.16.0 > > > The ObjectInputStream uses latestUserDefinedLoader() to load the class [1], > But I think we need to use ApplicationContextClassLoader of the camel context to load the class, in this way we can give the user right to change the classloader as they want. > [1]https://community.oracle.com/thread/1151865 -- This message was sent by Atlassian JIRA (v6.3.4#6332)