01
07/19
使用stomp连接RabbitMQ
1.安装rabbitmq 2.开启stomp插件 rabbitmq-plugins enable rabbitmq_web_stomp 3.成功后重启RabbitMQ 4.WEB代码 <!DOCTYPE HTML> <html> <head> <title>MyWebSocket</title> </head> <body> Welcome<br/> <input id="text" type="text"/> <div id="message"> </div> </body> <script src="https://cdn.bootcss.com/stomp.js/2.3.3/stomp.js"></script> <script src="https://cdn.bootcss.com/sockjs-client/1.1.4/...