6.4. Configure Replication Mode

Replication mode is a clustered cache mode in JBoss Data Grid. Replication mode can be added to any cache container using the following:
<cache-container name="local" 
		 default-cache="default"
 		 listener-executor="infinispan-listener">
	<replicated-cache name="default" 
		     start="EAGER">
		<locking isolation="NONE" 
			 acquire-timeout="30000"
			 concurrency-level="1000" 
			 striping="false" />
		<transaction mode="NONE" />
	</replicated-cache>
</cache-container>

Important

JGroups must be appropriately configured for clustered mode before attempting to load this configuration.