Skip to content

@RequestScoped doesn't work with fault tolerance @Retry #4826

@blsouthr

Description

@blsouthr

I have two request scoped beans. One is holding request data and another is using that data in error case to include it in error response. this however doesn't work if I add Retry annotation.
See attached project with tests. Quarkus 0.26.1

getting-started.zip

  1. Start project.
  2. do curl http://localhost:8080/hello/error?data=hello
  3. expected response should contain hello, but returns nothing
  4. Delete Retry annotation from GreetingResource.helloError and all works as expected

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions