You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (JIRA)" <ji...@apache.org> on 2017/05/26 12:24:04 UTC

[jira] [Created] (CAMEL-11343) gRPC component cannot load service class

James Netherton created CAMEL-11343:
---------------------------------------

             Summary: gRPC component cannot load service class
                 Key: CAMEL-11343
                 URL: https://issues.apache.org/jira/browse/CAMEL-11343
             Project: Camel
          Issue Type: Improvement
          Components: camel-grpc
    Affects Versions: 2.19.0
            Reporter: James Netherton
            Assignee: James Netherton


Class {{GrpcUtils}} does:

{code}
Class grpcServiceClass = Class.forName(serviceClassName);
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)