根据官方文档和其他来源(例如Atmosphere的Wiki),要求:
- 有一个
jboss-web.xml
带有<enable-websockets>true</enable-websockets>
元素的文件 - 使用提供的脚本配置NIO连接器
EAP_HOME/bin/jboss-cli.sh --connect --file=configure-http-connector.cli
请注意,Spring的参考文档在兼容性列表中提到了Wildfly,但没有提到Jboss
EAP。

根据官方文档和其他来源(例如Atmosphere的Wiki),要求:
jboss-web.xml带有
<enable-websockets>true</enable-websockets>元素的文件
EAP_HOME/bin/jboss-cli.sh --connect --file=configure-http-connector.cli
请注意,Spring的参考文档在兼容性列表中提到了Wildfly,但没有提到Jboss
EAP。