Cachemanager replication with ehcache on manager level or cache level
I am working on ehcache replication to share chache in a clustered JBoss
environment. We use Cache manager singletopn object to create dynamic
caches. Here is my problem. If i create a cache using cache manager, is it
expected to be replicated where I can just query for the cache in other
node(where it is not created). I am able to access the caches when I
create them with same names on all other nodes. e.g. If I create caches
with same name in other nodes I am able to see replication.
Does ehcache provide manager level replication ?
Here is my spring configuration for manager
<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
properties="peerDiscovery=automatic, multicastGroupAddress=230.0.0.1,
multicastGroupPort=4446, timeToLive=32" />
<cacheManagerPeerListenerFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
properties="port=40001, socketTimeoutMillis=2000" />
Any help is much appreciated.
No comments:
Post a Comment