KEYCLOAK-17444 Enlist the EventListenerTransaction with the Keycloak Transaction Manager
This commit is contained in:
parent
7ec6a54e22
commit
a60cb65252
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ public class EmailEventListenerProvider implements EventListenerProvider {
|
|||
this.model = session.realms();
|
||||
this.emailTemplateProvider = emailTemplateProvider;
|
||||
this.includedEvents = includedEvents;
|
||||
|
||||
this.session.getTransactionManager().enlistAfterCompletion(tx);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue