【问题标题】:Camel Undertow WebsocketsCamel Undertow Websockets
【发布时间】:2018-03-17 19:33:17
【问题描述】:

如何在与 Camel 一起使用时在 Undertow 中启用 websockets

这些是我尝试过的方法。

from("undertow:http://localhost:7766").transform(simple("Test"));
from("undertow:ws://localhost:7766").transform(simple("Test"));

当我尝试访问 websockets 时,收到错误“意外响应代码 200”

我在骆驼规范中也没有看到任何选项,具体来说,这是一个 Websocket 端点

【问题讨论】:

    标签: websocket apache-camel undertow


    【解决方案1】:

    camel-undertow 不支持 Websockets。目前仅针对 HTTP/HTTPS 协议编写。

    欢迎您在 Apache Camel 上记录 JIRA 票证以寻求 websocket 支持。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-06
      • 1970-01-01
      • 2015-12-31
      • 2020-03-02
      • 1970-01-01
      • 2017-05-13
      • 2016-05-10
      • 2016-10-20
      相关资源
      最近更新 更多