-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vertx RouteFilter not propagating request context to a resteasy-reactive resource #34693
Comments
Similar to #13073 |
cc @mkouba |
It seems that I can confirm that we only have a test for reactive routes. |
Should we be checking if one already exists? |
I think so, yes. The whole |
I am sure it will :) But I'll check it out tomorrow. |
Let's see what CI will say for #34724 |
So in the meantime I'll just leave with two mutual exclusive request filters. What definitly feels odd is, that I need to include the reactive-routes dependency to filter vertx requests which are already enabled with resteasy reactive |
In fact, you only need the reactive-routes for the declarative approach. You can use the Or even observe and configure the |
@mkouba interestingly, the request scope seems only managed/ propagated properly when using the declarative approach with |
Well, a declarative filter goes through |
Any updates regarding this issue? Thanks. |
Closing as this was implemented in #40408 |
Describe the bug
When having a
@RouteFilter
setting information on a@RequestScoped
bean, the bean is not being propagated correctly and the information is lost as a new request scope is beeing openend.Expected behavior
The request scope of an
@RouteFilter
should be propagated to myjakarta.ws
rest controller.Actual behavior
A new request scope is beeing opened between my
@RouteFilter
and the invocation of my rest controller.How to Reproduce?
https://github.com/HerrDerb/quarkus-issue/tree/vertx-requestscope-issue
The text was updated successfully, but these errors were encountered: