You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2015/04/15 16:48:59 UTC

[jira] [Created] (CAMEL-8642) Support to use custom classloader when deserializeJavaObjectFromStream.

Willem Jiang created CAMEL-8642:
-----------------------------------

             Summary: Support to use custom classloader when deserializeJavaObjectFromStream.
                 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)