SpringBoot+RabbitMQ+WebSocket

上传者: pang_zhen | 上传时间: 2022-04-28 20:33:58 | 文件大小: 68KB | 文件类型: RAR
使用SpringBoot搭建的简单项目,通过RabbitMQ消息队列接收消息,使用WebSocket推送至前台页面;testWebSocket.html是用于接收的静态页面,直接用浏览器打开即可

文件下载

资源详情

[{"title":"( 38 个子文件 68KB ) SpringBoot+RabbitMQ+WebSocket","children":[{"title":"messageService","children":[{"title":".project <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"mvnw.cmd <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false},{"title":"mvnw <span style='color:#111;'> 6.32KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"hg","children":[{"title":"gtg","children":[{"title":"MessageServiceApplicationTests.java <span style='color:#111;'> 335B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 621B </span>","children":null,"spread":false},{"title":"META-INF","children":[{"title":"additional-spring-configuration-metadata.json <span style='color:#111;'> 429B </span>","children":null,"spread":false}],"spread":true},{"title":"templates","children":null,"spread":false},{"title":"static","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"hg","children":[{"title":"gtg","children":[{"title":"TestController.java <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"MessageServiceApplication.java <span style='color:#111;'> 396B </span>","children":null,"spread":false},{"title":"rabbitmq","children":[{"title":"RabbitConfig.java <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"RabbitReceiver.java <span style='color:#111;'> 745B </span>","children":null,"spread":false},{"title":"RabbitProductor.java <span style='color:#111;'> 652B </span>","children":null,"spread":false}],"spread":false},{"title":"websocket","children":[{"title":"WebSocketServerForApp.java <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":"WebSocketConfig.java <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"WebSocketServerForWeb.java <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false}],"spread":false},{"title":"pspace","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"classes","children":[{"title":"application.properties <span style='color:#111;'> 622B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"hg","children":[{"title":"gtg","children":[{"title":"TestController.class <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"rabbitmq","children":[{"title":"RabbitConfig.class <span style='color:#111;'> 805B </span>","children":null,"spread":false},{"title":"RabbitProductor.class <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"RabbitReceiver.class <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"websocket","children":[{"title":"WebSocketConfig.class <span style='color:#111;'> 714B </span>","children":null,"spread":false},{"title":"WebSocketServerForApp.class <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"WebSocketServerForWeb.class <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"pspace","children":null,"spread":false},{"title":"MessageServiceApplication.class <span style='color:#111;'> 785B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"META-INF","children":[{"title":"additional-spring-configuration-metadata.json <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":"MANIFEST.MF <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"maven","children":[{"title":"com.hg.gtg","children":[{"title":"messageService","children":[{"title":"pom.properties <span style='color:#111;'> 253B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test-classes","children":[{"title":"com","children":[{"title":"hg","children":[{"title":"gtg","children":[{"title":"MessageServiceApplicationTests.class <span style='color:#111;'> 640B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 155B </span>","children":null,"spread":false}],"spread":true},{"title":".mvn","children":[{"title":"wrapper","children":[{"title":"maven-wrapper.jar <span style='color:#111;'> 46.49KB </span>","children":null,"spread":false},{"title":"maven-wrapper.properties <span style='color:#111;'> 110B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 268B </span>","children":null,"spread":false}],"spread":true},{"title":"testWebSocket.html <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • u011051912 :
    垃圾东西,骗积分的,不要下载
    2018-10-10
  • u012437781 :
    不知道123456
    2018-08-01

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明