diff --git a/pom.xml b/pom.xml index 3b6564be8f..079ebc750f 100644 --- a/pom.xml +++ b/pom.xml @@ -82,7 +82,7 @@ 1.12.4 - 2.5.5 + 2.6.0 2.32.0 2.15.1 @@ -93,9 +93,9 @@ 1.31.0-alpha 1.21.0-alpha - 3.8.0 + 3.12.0 3.0.0 - 1.0.0 + 1.1.0 1.19.7 diff --git a/smallrye-reactive-messaging-provider/src/main/java/io/smallrye/reactive/messaging/providers/extension/MediatorManager.java b/smallrye-reactive-messaging-provider/src/main/java/io/smallrye/reactive/messaging/providers/extension/MediatorManager.java index b7d3293c1f..2d8858c18c 100644 --- a/smallrye-reactive-messaging-provider/src/main/java/io/smallrye/reactive/messaging/providers/extension/MediatorManager.java +++ b/smallrye-reactive-messaging-provider/src/main/java/io/smallrye/reactive/messaging/providers/extension/MediatorManager.java @@ -18,7 +18,7 @@ import org.eclipse.microprofile.reactive.messaging.Incoming; import org.eclipse.microprofile.reactive.messaging.Outgoing; -import io.smallrye.mutiny.helpers.queues.Queues; +import io.smallrye.mutiny.infrastructure.Infrastructure; import io.smallrye.reactive.messaging.*; import io.smallrye.reactive.messaging.EmitterConfiguration; import io.smallrye.reactive.messaging.PublisherDecorator; @@ -114,12 +114,12 @@ private int getWorkerMaxConcurrency(MediatorConfiguration configuration) { String poolName = configuration.getWorkerPoolName(); // if the poll name is null we are on the default worker pool, set the default concurrent requests if (poolName == null) { - return Queues.BUFFER_S; + return Infrastructure.getBufferSizeS(); } String concurrencyConfigKey = WORKER_CONFIG_PREFIX + "." + poolName + "." + WORKER_CONCURRENCY; Optional concurrency = configInstance.get().getOptionalValue(concurrencyConfigKey, Integer.class); // Fallback to the default concurrent requests if setting is not found - return concurrency.orElse(Queues.BUFFER_S); + return concurrency.orElse(Infrastructure.getBufferSizeS()); } public Map getIncomingConcurrency(MediatorConfiguration configuration) {