-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
Description
Description
I use quarkus with kotlin suspend function to write the reactive programming.
When I try to use quarkus-hibernate-reactive-panache and make the method in a transaction boundary by using @ReactiveTransactional
like this
@POST
@Path("/suspend/withReactiveTransactionalAnnotation")
@ReactiveTransactional
suspend fun createFruitSuspendWithReactiveTransactionalAnnotation(fruitRequestDTO: FruitRequestDTO): FruitPO? {
return fruitService.createFruitSuspendWithReactiveTransactionalAnnotation(fruitRequestDTO)
}
I got the exception
only Uni is supported when using @ReactiveTransaction if you are running on a VertxThread
Is it possible to let the @ReactiveTransactional
support kotlin suspend function?
Implementation ideas
No response
Dosexe, oberstrike, pkgonan, mschorsch, SuperPDX and 12 morepkgonan and mschorsch