Spring websocket over STOMP使用指南

启用STOMP Spring框架提供基于websocket的STOMP支持,须要使用spring-messaging和spring-websocket模块。 下面的配置中,注册了一个前缀为/portfolio的stomp终端,客户端能够使用该url来创建websocket链接。 Message的destination若是是以/app开头,则会转发给响应的消息处理方法(如使用@MessageMapp
相关文章
相关标签/搜索