Skip to content

JTA with reactive Panache not working properly? #43800

Answered by loicmathieu
paloliska asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

No, sorry, but the code is correct not your thoughts ;)

call() like all other operation on Uni returns a new Uni, all operations are inside the chain of Unis which will be resolved by Quarkus as long as you subscribe to the last Uni in the chain. You usually subscribe to it by returning it to the Quarkus runtime (inside a REST endpoint for example).

The commitTransaction method returns a Uni that will be passed to the chain of Unis by the call() method.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by paloliska
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants