Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Global Transaction event handlers. #2682

Open
erkieh opened this issue Dec 5, 2023 · 0 comments
Open

Support Global Transaction event handlers. #2682

erkieh opened this issue Dec 5, 2023 · 0 comments

Comments

@erkieh
Copy link

erkieh commented Dec 5, 2023

Feature description

It seems that currently it is not possible to register global Transaction before commit event listeners in Micronaut 4. Please add the capability.

I was able to provide my own DataSourceTransactionManager in Micronaut 3 by extending the default one, but this cannot be done in Micronaut 3 anymore since the class is final. Providing my own AbstractDefaultTransactionOperations did not fully work for me also since calls to a TransactionalEventListener annotated method did not fire after the transaction was commited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant