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) {
|
private void configureTransportStack(ConfigurationBuilderHolder builder) {
|
||||||
String transportStack = Configuration.getRawValue("kc.cache-stack");
|
String transportStack = Configuration.getRawValue("kc.cache-stack");
|
||||||
|
|
||||||
if (transportStack != null) {
|
if (transportStack != null && !transportStack.isBlank()) {
|
||||||
builder.getGlobalConfigurationBuilder().transport().defaultTransport()
|
builder.getGlobalConfigurationBuilder().transport().defaultTransport().stack(transportStack);
|
||||||
.addProperty("configurationFile", "default-configs/default-jgroups-" + transportStack + ".xml");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue