Adding Replication to an Existing Cache
The cache event listening works but it does not get plumbed into the peering mechanism. The current API does not have a CacheManager event for cache configuration change. You can however make it work by calling the notifyCacheAdded event.
getCache().getCacheManager().
getCacheManagerEventListenerRegistry().notifyCacheAdded("cacheName");