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

Camel-JBPM KIE-Server extension should use KJAR project classloaded in deployment-scoped CamelContext

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.23.1
    • Fix Version/s: 2.23.2, 2.24.0, 3.0.0
    • Component/s: camel-jbpm
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When a camel-route configured in a KJAR deployment reference a class in the KJAR (for example in an <unmarshal> element), you get a ClassNotFoundException. The problem is that the CamelContext is unable to find the custom class defined in the KJAR.

      We should set the Application CamelContext classloader to the KJAR classloader for deployment-scoped (KJAR scoped) CamelContext.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                swiderski.maciej Maciej Swiderski
                Reporter:
                mccloud Duncan Doyle
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m