我正在将Apache ActiveMQ Artemis 2.9.0与STOMP over Websocket连接器一起使用。
当我查看收到的帧时,即使在CONNECT
帧期间,我的客户端(也就是Chrome浏览器)都将它们视为二进制帧:
我在Apache ActiveMQ 5.X中没有这种行为(框架被视为文本)。 我相信这取决于Websocket协议https://tools.ietf.org/html/rfc6455#page-65
中的操作码这是Apache ActiveMQ Artemis的预期行为吗?
答案 0 :(得分:0)
是的。这是Apache ActiveMQ Artemis的预期行为。它使用Netty来支持Web套接字,特别是对于Web套接字框架,它使用io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame