http://www.oschina.net/translate/easy-messaging-with-stomp-over-websockets-using-activemq-and-hornetq?cmp
我是按照这个教程去做的。。但是浏览器输出的是
WebSocket connection to 'ws://127.0.0.1:61614/stomp' failed: Error during WebSocket handshake: 'Sec-WebSocket-Protocol' header value 'stomp' in response does not match any of sent values
参考下 http://www.oschina.net/question/1756518_238747
看看我的blog中的stomp内容