camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <>
Subject [jira] [Commented] (CAMEL-11889) Kie assumes that the TCCL can load its services
Date Wed, 11 Oct 2017 07:30:00 GMT


Thomas Diesler commented on CAMEL-11889:

The PR is working, but I haven't decided yet whether the correct classloader to use should
be that of the Optaplaner component, the Kie API or even that of the user deployment. 

Kie caches classloaders that are associated with an arbitrary thread. This is of course highly
problematic in a modular environment, where the same instance of Kie may be used by multiple
modules and even multiple deployments.

Only if, that what is cached is part of some static configuration (i.e. independent of deployment
content) it can (reluctantly) be done at all. 
I'll revisit this at my leisure and for now agree with you, that it is not critical.

> Kie assumes that the TCCL can load its services
> -----------------------------------------------
>                 Key: CAMEL-11889
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-optaplanner
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>             Fix For: 2.20.1, 2.21.0
> The recent update of optaplanner comes with, which relies on the TCCL
> Perhaps, this can be fixed at the camel-optaplanner  component level. 

This message was sent by Atlassian JIRA

View raw message