Related Documentation : Ehcache Replication Guide : Replicated Caching Using JMS : Ehcache Replication and External Publishers
Ehcache Replication and External Publishers
 
Configuration
External JMS Publishers
Code Samples
Ehcache replicates using JMS as follows:
*Each cache node subscribes to a predefined topic, configured as the <topicBindingName> in ehcache.xml.
*Each replicated cache publishes cache Elements to that topic. Replication is configured per cache.
To set up replicated caching based on JMS you need to configure a JMSCacheManagerPeerProviderFactory which is done globally for a CacheManager.
For each cache that wishing to replicate, you add a JGroupsCacheReplicatorFactory element to the cache element.
Copyright © 2014 Software AG, Darmstadt, Germany.

Product Logo |   Feedback