-
Bug
-
Resolution: Done
-
Major
-
11.0.1.Final
-
None
-
DataGrid Sprint #46, DataGrid Sprint #47
ConfigurationBuilder::withProperties should not overwrite the transactionMode
if (transactionMode != null) {
config.transaction().transactionMode(TransactionMode.valueOf(transactionMode));
}
config.maxRetries(maxRetries).socketTimeout(connectionTimeout).connectionTimeout(connectionTimeout);
if (propertiesPath != null) {
Properties p = new Properties();
try (Reader r = new FileReader(propertiesPath)) {
p.load(r);
config.withProperties(p);
} catch (IOException e) {
throw new IllegalStateException("Something went wrong with provided properties file:" + propertiesPath, e);
}
}
return config;
}
infinispan.client.hotrod.auth_username=admin infinispan.client.hotrod.auth_password=password infinispan.client.hotrod.auth_realm=default infinispan.client.hotrod.sasl_mechanism=SCRAM-SHA-512