[infinispan-issues] [JBoss JIRA] (ISPN-5205) CacheResult Interceptor creates wrong CacheManager
Bruno Palaoro (JIRA)
issues at jboss.org
Thu Feb 5 13:32:49 EST 2015
[ https://issues.jboss.org/browse/ISPN-5205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno Palaoro updated ISPN-5205:
--------------------------------
Description:
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)
was: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.
> CacheResult Interceptor creates wrong CacheManager
> --------------------------------------------------
>
> Key: ISPN-5205
> URL: https://issues.jboss.org/browse/ISPN-5205
> Project: Infinispan
> Issue Type: Bug
> Components: CDI Integration
> Affects Versions: 6.0.2.Final
> Reporter: Bruno Palaoro
> Priority: Critical
> Attachments: infinispan-cdi.zip
>
>
> 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)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the infinispan-issues
mailing list