Camel Undertow Websockets

时间:2017-10-06 04:16:49

标签: websocket apache-camel undertow

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

这些是我尝试的方式。

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

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

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

1 个答案:

答案 0 :(得分:0)

camel-underow不支持Websockets。此时只编写HTTP / HTTPS协议。

欢迎您在Apache Camel上记录JIRA票证,要求提供websocket支持。