Consider the following:

    @CacheRemove
    public void remove(@CacheKey final String key) {
        log.info(String.format("Removing key: %s", key));
    }

    public void removeLocal(final String key) {
        remove(key);
    }

Calling remove from another bean works as expected, but calling method from
inside same class (removeLocal) fails. Complete example at
https://github.com/sgjava/jcache-tomee



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/JCache-annotation-not-working-with-local-method-tp4677321.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to