If I use the CacheResult interceptor, it won't create the correct CacheManager. It seems that it always create using the default options, it doesn't matter the configurations I've used.
In the attached example, the items are never added to the cache I inject in the GreetingCacheManager, seems like two different caches, one inside @CacheResult and when I inject its another.
I've tried using the InjectCacheResult, and it solve this issue, but then another one rises, as described in issue 5195 (https://issues.jboss.org/browse/ISPN-5195)
- is related to
-
ISPN-5195 CacheConfigurationException when two methods using default cache configuration are called in same request
- Closed