websocket - ActiveMQ Artemis - 踩在 websocket 上 - 框架类型
问题描述
我将 Apache ActiveMQ Artemis 2.9.0 与 STOMP over Websocket 连接器一起使用。
当我查看收到的帧时,我的客户端(Chrome 浏览器)将它们视为二进制帧,即使在CONNECT
帧期间也是如此:
Apache ActiveMQ 5.X 没有这种行为(框架被视为文本)。我相信它是由 Websocket 协议https://www.rfc-editor.org/rfc/rfc6455#page-65的操作码决定的
这是 Apache ActiveMQ Artemis 的预期行为吗?
解决方案
Yes. This is the expected behavior from Apache ActiveMQ Artemis. It uses Netty for web socket support, and for web socket frames specifically it uses io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame
推荐阅读
- node.js - Mongodb nodejs查询不起作用,即使它应该
- delphi - 在delphi中取消文件对话框时如何防止I / O 6
- c - 我如何摆脱重复自己的键
- python - 来自数据框python的多个数据框
- html - 在图像悬停时淡出颜色并显示文本
- java - Java 未在 Windows Server 2019 上运行
- dependency-injection - 绑定实例问题的 Dagger 官方示例
- node.js - 如何使用 mongoose 将条目从一个集合复制到另一个集合?
- php - 在 PHP Codeigniter 中使用 ajax json 的数据表,我的自定义过滤器按钮不起作用
- amazon-web-services - lambda函数中未找到桶错误