diff --git a/bom/application/pom.xml b/bom/application/pom.xml
index 5c60d85458a32..828b66760ac41 100644
--- a/bom/application/pom.xml
+++ b/bom/application/pom.xml
@@ -53,7 +53,7 @@
2.7.0
2.26.0
3.18.0
- 1.1.2
+ 1.2.0
1.2.1
1.3.5
3.0.4
diff --git a/extensions/smallrye-stork/runtime/src/main/java/io/quarkus/stork/StorkConfigUtil.java b/extensions/smallrye-stork/runtime/src/main/java/io/quarkus/stork/StorkConfigUtil.java
index db9d9f68b29a8..a87bb3f39b0f5 100644
--- a/extensions/smallrye-stork/runtime/src/main/java/io/quarkus/stork/StorkConfigUtil.java
+++ b/extensions/smallrye-stork/runtime/src/main/java/io/quarkus/stork/StorkConfigUtil.java
@@ -16,9 +16,9 @@ public static List toStorkServiceConfig(StorkConfiguration storkC
for (String serviceName : servicesConfigs) {
builder.setServiceName(serviceName);
ServiceConfiguration serviceConfiguration = storkConfiguration.serviceConfiguration.get(serviceName);
- SimpleServiceConfig.SimpleServiceDiscoveryConfig storkServiceDiscoveryConfig = new SimpleServiceConfig.SimpleServiceDiscoveryConfig(
+ SimpleServiceConfig.SimpleConfigWithType storkServiceDiscoveryConfig = new SimpleServiceConfig.SimpleConfigWithType(
serviceConfiguration.serviceDiscovery.type, serviceConfiguration.serviceDiscovery.params);
- builder.setServiceDiscovery(storkServiceDiscoveryConfig);
+ builder = builder.setServiceDiscovery(storkServiceDiscoveryConfig);
SimpleServiceConfig.SimpleLoadBalancerConfig loadBalancerConfig = new SimpleServiceConfig.SimpleLoadBalancerConfig(
serviceConfiguration.loadBalancer.type, serviceConfiguration.loadBalancer.parameters);
builder.setLoadBalancer(loadBalancerConfig);