Replies: 1 comment 2 replies
-
Well, if an intercepted method returns |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
Do Quarkus support reactive interceptor in any way via Uni/Coroutines ?
Let's say we need to implement a custom rate limiter, so for specific methods we should wrap execution via rate limiter interceptor. However it turns out it is not possible to do this via kotlin coroutines
On build step i get the following error:
[error]: Build step io.quarkus.arc.deployment.ArcProcessor#registerBeans threw an exception: java.lang.IllegalStateException: An interceptor method must accept exactly one parameter of type javax.interceptor.InvocationContext: java.lang.Object invoke(javax.interceptor.InvocationContext, kotlin.coroutines.Continuation<java.lang.Object>) declared on
Is it possible somehow to implement method interceptor in a reactive way? Maybe return Uni, Mono, or smth else?
Beta Was this translation helpful? Give feedback.
All reactions