Thoughts on making the PersistentApplicationEventMulticaster.invokeTargetListener
method public
#553
Labels
in: event publication registry
Event publication registry
meta: waiting for feedback
Waiting for feedback of the original reporter
Hi, I was wondering if it would be possible to make the
PersistentApplicationEventMulticaster.invokeTargetListener(TargetEventPublication)
method or some version of it public so that it can be invoked directly.We have a use case where we built a couple child tables that are associated with the
event_publication
table to keep track of the number of times an event has been retried. Because of this, we've written our own query to find the list of event publications that need to be resubmitted and would like to be able to invoke the target listener for each one without having a second query be executed. TheresubmitIncompletePublications
method works, but it's running thefindIncompletePublications
query each time it's invoked, which is a fairly costly operation given that we already have all of the required data in memory.The text was updated successfully, but these errors were encountered: