You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each transactional event listener is wrapped into an aspect that marks that log entry as completed if the execution of the listener succeeds.
119
119
In case the listener fails, the log entry stays untouched so that retry mechanisms can be deployed depending on the application's needs.
120
-
By default, all incomplete event publications are resubmitted at application startup.
120
+
Automatic republication on application restart can be enabled by setting the `spring.modulith.republish-outstanding-events-on-restart` property to `true`.
121
+
Note, that this is only recommended for single-instance application deployments.
122
+
For a more flexible arrangement, `EventPublicationRegistry` exposes a method `….findIncompletePublications()` that can be called from user code.
121
123
122
124
.The transactional event listener arrangement after execution
0 commit comments