Title: Create a New RemoteCacheManager Describe the issue: Creating RemoteCacheManaget via Properties is deprecated in infinispan 6.0.0 Properties props = new Properties(); props.put("infinispan.client.hotrod.server_list", "127.0.0.1:11222"); RemoteCacheManager manager = new RemoteCacheManager(props); RemoteCache defaultCache = manager.getCache(); Suggestions for improvement: ConfigurationBuilder should be used Configuration conf = new ConfigurationBuilder().addServer().host(<hostname|ip>).port(<port>).build(); RemoteCacheManager manager = new RemoteCacheManager(conf); RemoteCache defaultCache = manager.getCache(); Additional information: creating remote cache manager with constructor RemoteCacheManager(Properties props); will be dropped in next release of JDG
And I forgot there is other other way to create RemoteCacheManager and RemoteCache where hotrod-client.properties are still used RemoteCacheManager manager = new RemoteCacheManager(); RemoteCache defaultCache = manager.getCache(); This could be added to documentation If somebody wants still use this hotrod-client.properties
And I forgot one more where hotrod-client.properties are still used RemoteCacheManager manager = new RemoteCacheManager(true|false); RemoteCache defaultCache = manager.getCache(); This could be added to documentation If somebody wants still use this hotrod-client.properties
This issue has also been raised in BZ#1028746 and will be addressed there. Closing this bug as a duplicate. *** This bug has been marked as a duplicate of bug 1028746 ***