问题
I want to a deploy Spring Cloud Gateway but it is built on Spring Framework 5, Project Reactor.
Can I create a WAR file and deploy it on a traditional application server such as Jboss or Tomcat.
The Spring documentation in this page says it is possible.
Spring WebFlux is supported on Tomcat, Jetty, Servlet 3.1+ containers
Note: this is Spring Cloud Gateway project link https://spring.io/projects/spring-cloud-gateway
回答1:
I don't think this is possible, as Spring Cloud Gateway is itself a Spring Boot WebFlux application and this use case is only supported with embedded servers, as mentioned in the Spring Boot reference documentation.
来源:https://stackoverflow.com/questions/54438851/how-to-deploy-spring-cloud-gateway-2-1-on-jboss-or-tomcat