Hi guys,
I'm trying to flush multiple caches when executing a single method but I get an error. Here's what I use:
When setUserSegments() method is called the following exception is thrown:Code:<property name="flushingModels"> <props> <prop key="setUserSegments">cacheNames=userCache,marketCache</prop> </props> </property>
It seems that cache names are not tokenized based on the comma separator. Is flushing multiple caches possible and if so, which tokenizer should I use?Code:org.springmodules.cache.provider.CacheNotFoundException: Unable to find cache 'userCache,marketCache' at org.springmodules.cache.provider.ehcache.EhCacheFacade.getCache(EhCacheFacad e.java:147) at org.springmodules.cache.provider.ehcache.EhCacheFacade.onFlushCache(EhCacheF acade.java:185) at org.springmodules.cache.provider.AbstractCacheProviderFacade.flushCache(Abst ractCacheProviderFacade.java:91) at org.springmodules.cache.interceptor.flush.AbstractFlushingInterceptor.invoke (AbstractFlushingInterceptor.java:154) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect iveMethodInvocation.java:185) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro xy.java:209)
Thanks a bunch!


