Skip to content

Commit

Permalink
Dev mode loading of URI
Browse files Browse the repository at this point in the history
  • Loading branch information
karesti committed Nov 30, 2022
1 parent 7a7b6ce commit 5deeb18
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -233,7 +233,7 @@ private ConfigurationBuilder builderFromProperties(Properties properties) {
String cacheName = cache.getKey();
InfinispanClientRuntimeConfig.RemoteCacheConfig remoteCacheConfig = cache.getValue();
if (remoteCacheConfig.configurationUri.isPresent()) {
URL configFile = InfinispanClientProducer.class.getClassLoader()
URL configFile = Thread.currentThread().getContextClassLoader()
.getResource(remoteCacheConfig.configurationUri.get());
try {
builder.remoteCache(cacheName).configurationURI(configFile.toURI());
Expand Down

0 comments on commit 5deeb18

Please sign in to comment.