【问题标题】:How to deploy Spring Cloud Gateway 2.1 on Jboss or Tomcat?如何在 Jboss 或 Tomcat 上部署 Spring Cloud Gateway 2.1?
【发布时间】:2019-06-23 15:09:08
【问题描述】:

我想部署 Spring Cloud Gateway,但它是基于 Spring Framework 5,Project Reactor 构建的。

我能否创建一个 WAR 文件并将其部署在 Jboss 或 Tomcat 等传统应用服务器上。

this page 中的 Spring 文档说这是可能的。

Tomcat、Jetty、Servlet 3.1+ 容器支持 Spring WebFlux

注意: 这是 Spring Cloud Gateway 项目链接 https://spring.io/projects/spring-cloud-gateway

【问题讨论】:

    标签: spring-boot jboss war spring-webflux spring-cloud-gateway


    【解决方案1】:

    我认为这是不可能的,因为 Spring Cloud Gateway 本身就是一个 Spring Boot WebFlux 应用程序,而且这个用例只支持嵌入式服务器 as mentioned in the Spring Boot reference documentation

    【讨论】:

      猜你喜欢
      • 2021-05-03
      • 2020-03-04
      • 1970-01-01
      • 1970-01-01
      • 2016-06-24
      • 1970-01-01
      • 2014-11-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多