Skip to content

Commit

Permalink
[Fix #3717] Switching kogito.events.grouping from buildtime to runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtirado committed Oct 11, 2024
1 parent f41d4fd commit 04340f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04340f4

Please sign in to comment.