diff --git a/quarkus/addons/events/process/runtime/src/main/java/org/kie/kogito/events/process/GroupingMessagingEventPublisher.java b/quarkus/addons/events/process/runtime/src/main/java/org/kie/kogito/events/process/GroupingMessagingEventPublisher.java index ee1f284b3a8..66e007d0394 100644 --- a/quarkus/addons/events/process/runtime/src/main/java/org/kie/kogito/events/process/GroupingMessagingEventPublisher.java +++ b/quarkus/addons/events/process/runtime/src/main/java/org/kie/kogito/events/process/GroupingMessagingEventPublisher.java @@ -32,12 +32,12 @@ import org.kie.kogito.event.usertask.MultipleUserTaskInstanceDataEvent; import org.kie.kogito.event.usertask.UserTaskInstanceDataEvent; -import io.quarkus.arc.properties.IfBuildProperty; +import io.quarkus.arc.lookup.LookupIfProperty; import jakarta.inject.Singleton; @Singleton -@IfBuildProperty(name = "kogito.events.grouping", stringValue = "true") +@LookupIfProperty(name = "kogito.events.grouping", stringValue = "true") public class GroupingMessagingEventPublisher extends AbstractMessagingEventPublisher { @Override diff --git a/quarkus/addons/events/process/runtime/src/main/java/org/kie/kogito/events/process/ReactiveMessagingEventPublisher.java b/quarkus/addons/events/process/runtime/src/main/java/org/kie/kogito/events/process/ReactiveMessagingEventPublisher.java index c6aa4424f0c..bf9de3b9c2f 100644 --- a/quarkus/addons/events/process/runtime/src/main/java/org/kie/kogito/events/process/ReactiveMessagingEventPublisher.java +++ b/quarkus/addons/events/process/runtime/src/main/java/org/kie/kogito/events/process/ReactiveMessagingEventPublisher.java @@ -22,12 +22,12 @@ import org.kie.kogito.event.DataEvent; -import io.quarkus.arc.properties.UnlessBuildProperty; +import io.quarkus.arc.lookup.LookupUnlessProperty; import jakarta.inject.Singleton; @Singleton -@UnlessBuildProperty(name = "kogito.events.grouping", stringValue = "true", enableIfMissing = true) +@LookupUnlessProperty(name = "kogito.events.grouping", stringValue = "true", lookupIfMissing = true) public class ReactiveMessagingEventPublisher extends AbstractMessagingEventPublisher { @Override