Hi, I configured SimpleCacheManager with ConcurrentMapCacheFactory bean.
Spring documentation mentioned that "SimpleCacheManager - As the cache is created by the application, it is bound to its lifecycle, making it suitable for basic use cases, tests or simple applications. The cache scales well and is very fast but it does not provide any management or persistence capabilities nor eviction contracts."Code:<bean id="cacheManager" class="org.springframework.cache.support.SimpleCacheManager"> <property name="caches"> <set> <bean class="org.springframework.cache.concurrent.ConcurrentMapCacheFactoryBean" p:name="routes" /> </set> </property> </bean>
Does it mean that I cannot monitory/modify this cache using JMX? I don't want to restart my application when my cache data needs to be refreshed.
Thanks, Kiran


Reply With Quote
