Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8642

Support to use custom classloader when deserializeJavaObjectFromStream in HttpHelper

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      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

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: