parent
51b3906f9d
commit
10ff4a0ab3
1 changed files with 2 additions and 3 deletions
|
@ -129,9 +129,8 @@ public class CacheManagerFactory {
|
|||
private void configureTransportStack(ConfigurationBuilderHolder builder) {
|
||||
String transportStack = Configuration.getRawValue("kc.cache-stack");
|
||||
|
||||
if (transportStack != null) {
|
||||
builder.getGlobalConfigurationBuilder().transport().defaultTransport()
|
||||
.addProperty("configurationFile", "default-configs/default-jgroups-" + transportStack + ".xml");
|
||||
if (transportStack != null && !transportStack.isBlank()) {
|
||||
builder.getGlobalConfigurationBuilder().transport().defaultTransport().stack(transportStack);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue