quarkus: Microprofile @Timeout annotation is not working for methods with rest-client request processing

Describe the bug

If a method with rest-client request processing inside is marked with @Timeout annotation, long requests are not interrupted with Timeout exception. The reproducer is attached.

Expected behavior

Fault tolerance interceptors stop the method execution after a specific timeout.

Actual behavior

No response

How to Reproduce?

fault-tolerance-reproducer.zip

  1. run TimeoutTest
  2. It is not interrupted after a certain timeout

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

2.5.0.Final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

i have the same problem, but my solution its no using more quarkus until really mature System. Bye quarkus

Closing as per the comments above