Search code examples
javawebsocketnettystomp

Can Netty integrate STOMP?


I am currently using Netty integrated WebSocket to do a chat room, I would like to ask whether Netty supports STOMP protocol, so that Netty+ WebSocket + STOMP can be done? I can't find any examples online because the combination doesn't fit the actual development, or because they're the wrong combination?


Solution

  • Netty provides a STOMP codec so in that sense it "supports" STOMP. However, STOMP is a messaging protocol and Netty is not a message broker. Therefore, in that sense Netty doesn't support STOMP. In order to support STOMP as a messaging protocol you'd have to implement much more than what Netty provides. See the STOMP specification for more details on that.