Basically it’s a utility class whose one instance is managed by spring and stores its references (ApplicationEventPublisher) in static atomic variables.
it can have methods to publish notifications in the current transaction or via an Executor#call(Runnable) that in turn has a TrabsactionTemplate so it starts a tax in a separate thread. This way the Modulith mechanism that ties code to a TX synchronization won’t matter
Basically it’s a utility class whose one instance is managed by spring and stores its references (ApplicationEventPublisher) in static atomic variables.
it can have methods to publish notifications in the current transaction or via an
Executor#call(Runnable)
that in turn has a TrabsactionTemplate so it starts a tax in a separate thread. This way the Modulith mechanism that ties code to a TX synchronization won’t matterI need this all to support #13