5 Replies Latest reply on Oct 1, 2013 9:14 AM by Randall Hauch

    Use RemoteCacheManager as the cache container

    Julio Arias Newbie

      I'm trying to use Modeshape against a remote Infinispan Data Grid, but I can't use the RemoteCacheManager

       

      LocalEnvironment environment = new LocalEnvironment();
      environment.addCacheContainer(LocalEnvironment.DEFAULT_CONFIGURATION_NAME, new RemoteCacheManager());
      

       

      Of course due to interface differences the above code is not possible.

       

      The idea is to achieve a cluster described in Clustering - ModeShape 3 - Project Documentation Editor

       

      I could also a RemoteCacheStore but that doesn't seems to the same or maybe I'm wrong, I don't want to load my cache via a remote cache, I want to connect to the remote data grid.

       

      Any help would be appreciated.