We have a couple of nodes in a disctributed cache all servers with replicated regions.
When we add data it flows to the other nodes, all works fine.
I tried to add CacheListener on the node that inserts the data into the cache, but the only call I get is for afterRegionCreate()
What I am doing wrong?
<?xml version="1.0"?>
<!DOCTYPE cache PUBLIC "-//GemStone Systems, Inc.//GemFire Declarative Caching 6.6//EN" "http://www.gemstone.com/dtd/cache6_6.dtd">
<cache>
<region name="ABC">
<region-attributes />
<region name="USER">
<region-attributes />
<region name="ACCESS">
<region-attributes data-policy="replicate" scope="distributed-ack">
<cache-listener>
<class-name>cache.CacheUpdateListener</class-name>
</cache-listener>
</region-attributes>
</region>
</region>
</region>
</cache>