-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
check for both Spring MVC and for Spring WebFlux when deciding to register the Integration Graph controller #2358
Comments
Contributions are welcome 😄 |
In the WebFlux module we use the code like:
to indicate that we are good to go with the WebFlux server components registration. I don't think that we need to do one class in this
The JavaDocs of the That will work properly just because |
Fixes spring-projects#2358 The WebFlux on the server side can deal with MVC `@Controllers` as well without any Servlet environment. * Enable `IntegrationGraphController` when we not only in the Servlet environment, but also in the WebFlux * Upgrade to SF-5.0.4 and fix WebFlux tests to meet the latest requirements * Move `WEB_FLUX_PRESENT` to the `HttpContextUtils`; deprecate it in the `WebFluxContextUtils` * Mention WebFlux ability for the `IntegrationGraphController` in the `graph.adoc`
IntegrationGraphControllerRegistrarImportSelector
checks for theDispatcherServlet
, which fails in a Spring WebFlux application. I copied and pasted the relevant code to a separate class hiearchy, commented out the test for Spring MVC and then ran it in a Spring WebFlux app, and it seems to work.The text was updated successfully, but these errors were encountered: