Re: JCS jcache examples specifically with spring caching

2017-01-30 Thread Romain Manni-Bucau
Not sure with spring but we have users in prod yes (we already got feedback through tomee list / IRC / privately) Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github

Re: JCS jcache examples specifically with spring caching

2017-01-30 Thread Tim Cronin
is there anyone that has used the Jcache impl of JCS? On Wed, Jan 25, 2017 at 8:48 AM, Tim Cronin wrote: > I'm trying to leverage Spring caching using jcs cache > the javadocs show only ctor for the JCSCachingManager. > https://commons.apache.org/proper/commons-jcs/commons- > jcs-jcache/apidoc

Re: JCS jcache examples specifically with spring caching

2017-01-25 Thread Romain Manni-Bucau
2017-01-25 20:37 GMT+01:00 Tim Cronin : > still playing around with the jcache impl (see attached) > > I created the cache using jcache functionality but if I try to access it > via native jcs it shows the cache as empty. > > Right, we isolate managers to avoid issues (the singleton pattern taking

Re: JCS jcache examples specifically with spring caching

2017-01-25 Thread Tim Cronin
still playing around with the jcache impl (see attached) I created the cache using jcache functionality but if I try to access it via native jcs it shows the cache as empty. so you're are unable to manage the caches via JCSAdmin. but could have something misconfigured public final class CacheI

Re: JCS jcache examples specifically with spring caching

2017-01-25 Thread Romain Manni-Bucau
Hi this is not the way to use JCache in spring, Use spring method factory bean to do: provider=Caching.getCachingProvider(), destroy method will be close() then you can do through the same factory: // the provider can give you default values for these params if you want manager=provider.getCach

JCS jcache examples specifically with spring caching

2017-01-25 Thread Tim Cronin
I'm trying to leverage Spring caching using jcs cache the javadocs show only ctor for the JCSCachingManager. https://commons.apache.org/proper/commons-jcs/commons-jcs-jcache/apidocs/src-html/org/apache/commons/jcs/jcache/JCSCachingManager.html#line.83 but i pass in what seems more like default val