New answers tagged


Your intuition is good and you can have a @TransactionalEventListener if you using spring for instance. I have did it by the past and it works well, do not forget to add rollback transaction listener as well or wrap it in a transaction. Of course your EventDispatcher must commit events on transaction.

Top 50 recent answers are included