我试图通过xml设置handshake handler:
<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。我做错什么了?
发布于 2014-03-17 20:19:36
这是一个bug (请参阅SPR-11568)。您需要将应用程序更新为SpringFramework4.0.3。
https://stackoverflow.com/questions/22447794
复制相似问题