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

gRPC component cannot load service class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.19.0
    • 2.19.1, 2.20.0
    • camel-grpc
    • None
    • 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

            dmvolod Dmitry Volodin
            jamesnetherton James Netherton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: