Skip to content

Commit

Permalink
Merge pull request #29596 from karesti/SPN-14363
Browse files Browse the repository at this point in the history
Dev mode loading of URI
  • Loading branch information
geoand authored Dec 1, 2022
2 parents c69d8d8 + 5deeb18 commit 00cd07e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 00cd07e

Please sign in to comment.