camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11343) gRPC component cannot load service class
Date Sun, 28 May 2017 06:53:04 GMT

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

ASF GitHub Bot commented on CAMEL-11343:
----------------------------------------

GitHub user dmvolod opened a pull request:

    https://github.com/apache/camel/pull/1723

    CAMEL-11343: gRPC component cannot load service class

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dmvolod/camel CAMEL-11343

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1723.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1723
    
----
commit 480239b54c399af995f76448dd50e45a6b754494
Author: dvolodin <dvolodin@localhost.localdomain>
Date:   2017-05-28T06:43:43Z

    CAMEL-11343: gRPC component cannot load service class

----


> 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