camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11343) gRPC component cannot load service class
Date Sat, 27 May 2017 07:33:04 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16027322#comment-16027322
] 

Claus Ibsen commented on CAMEL-11343:
-------------------------------------

Okay pushed the fix to master, will wait for the 2.19.x PR

> 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: Dmitry Volodin
>             Fix For: 2.19.1, 2.20.0
>
>
> 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)

Mime
View raw message