You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and use RestClient Reactive together with Fault Tolearnce, the circuit breaker doesn't work. If I put the @CircuitBreaker annotation on the hello method, the circuit breaker works just fine.
This is caused by RestClient Reactive not copying annotations from the interface itself to the generated class (though annotations from RestClient methods are copied to the generated methods).
Expected behavior
Interceptor bindings declared on the RestClient interface itself work with RestClient Reactive.
Actual behavior
Interceptor bindings declared on the RestClient interface itself don't work with RestClient Reactive.
How to Reproduce?
No response
Output of uname -a or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version or gradlew --version)
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Interesting twist: the generated class extends RestClientReactiveCDIWrapperBase, which defines a few methods. In a naive implementation, these methods would get intercepted as well, and that should not happen.
Describe the bug
If I have a RestClient interface like this:
and use RestClient Reactive together with Fault Tolearnce, the circuit breaker doesn't work. If I put the
@CircuitBreaker
annotation on thehello
method, the circuit breaker works just fine.This is caused by RestClient Reactive not copying annotations from the interface itself to the generated class (though annotations from RestClient methods are copied to the generated methods).
Expected behavior
Interceptor bindings declared on the RestClient interface itself work with RestClient Reactive.
Actual behavior
Interceptor bindings declared on the RestClient interface itself don't work with RestClient Reactive.
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: