camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zregvart <...@git.apache.org>
Subject [GitHub] camel pull request #1414: CAMEL-10732 Remove from all caches when Groovy ...
Date Fri, 20 Jan 2017 19:36:23 GMT
GitHub user zregvart opened a pull request:

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

    CAMEL-10732 Remove from all caches when Groovy ...

    ...script is removed from Camel script cache
    
    This commit wraps the `Class<Script>` in a `org.apache.camel.Service`
    before placing it in the cache so that on removal from the cache `stop`
    method would be invoked in which Groovy's `InvokerHelper` is used to
    cleanup three other caches that still hold references to the Script
    Class in question.

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

    $ git pull https://github.com/zregvart/camel CAMEL-10732

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

    https://github.com/apache/camel/pull/1414.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 #1414
    
----
commit f05f319a29c4d3f8077e13877bb9b542ddd99b20
Author: Zoran Regvart <zoran@regvart.com>
Date:   2017-01-20T19:34:51Z

    CAMEL-10732 Remove from all caches when Groovy ...
    
    ...script is removed from Camel script cache
    
    This commit wraps the `Class<Script>` in a `org.apache.camel.Service`
    before placing it in the cache so that on removal from the cache `stop`
    method would be invoked in which Groovy's `InvokerHelper` is used to
    cleanup three other caches that still hold references to the Script
    Class in question.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message