首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Spring集握手处理程序/拦截器

Spring集握手处理程序/拦截器
EN

Stack Overflow用户
提问于 2014-03-17 05:52:43
回答 1查看 2.7K关注 0票数 2

我试图通过xml设置handshake handler

代码语言:javascript
复制
<bean id="customHandler" class="app.wsock.CustomHandler"/>

<websocket:message-broker>
  <websocket:stomp-endpoint path="/foo">
    <websocket:handshake-handler ref="customHandler"/>
    <websocket:sockjs/>
  </websocket:stomp-endpoint>
  <websocket:stomp-broker-relay prefix="/topic,/queue" />
</websocket:message-broker>

但是在连接上也使用了DefaultHandshakeHandler。我做错什么了?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-03-17 20:19:36

这是一个bug (请参阅SPR-11568)。您需要将应用程序更新为SpringFramework4.0.3。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22447794

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档