-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Using @Transactional on a method annotated with @Incoming should add @Blocking if not present #21795
Comments
Didn't @stuartwdouglas have something like this as well? |
It was specific to RESTEasy Reactive |
Ah, OK |
Maybe this should be implemented in the |
+1 to @mkouba proposal. It would cover most cases. |
How would we actually implement that though, as @Blocking is processed by lots of different extensions. |
That is a good point. Even if it adds the |
…nsider it blocking. Fix quarkusio#21795
All those extensions can leverage the ArC transformers API, i.e. instead of looking at the index consumer the CC @cescoffier |
Description
When a method annotated with
@Incoming
is also annotated with@Transactional
, it should automatically add@Blocking
is no blocking annotations (from SmallRye common and Reactive Messaging) are used.Implementation ideas
The text was updated successfully, but these errors were encountered: