This content has been marked as final. Show 3 replies
The empty constructor should work - it will look for a hotrod-client.properties file in the classpath
I was hoping to use different properties file based on environment.
Use the ConfigurationBuilder:
ConfigurationBuilder b = new ConfigurationBuilder(); Properties p = new Properties(); p.load(new FileReader("path/to/file.properties")); b.withProperties(p); RemoteCacheManager rcm = new RemoteCacheManager(b.build());