Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5205

CacheResult Interceptor creates wrong CacheManager

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.2.0.CR1
    • 6.0.2.Final
    • CDI
    • None

      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)

              slaskawi@redhat.com Sebastian Ɓaskawiec (Inactive)
              brunopalaoro Bruno Palaoro (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: