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

gRPC component cannot load service class

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.19.0
    • Fix Version/s: 2.19.1, 2.20.0
    • Component/s: camel-grpc
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Class GrpcUtils does:

      Class grpcServiceClass = Class.forName(serviceClassName);
      

      Unfortunately, that causes the class loading to be done from the GrpcUtils ClassLoader, which may not be appropriate in modular environments (OSGi, JavaEE, etc)

        Attachments

          Activity

            People

            • Assignee:
              dmvolod Dmitry Volodin
              Reporter:
              jamesnetherton James Netherton
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: