# pushMessage **Repository Path**: loving_jie/pushMessage ## Basic Information - **Project Name**: pushMessage - **Description**: springboot整合rabbitmq实现消息实时推送到web页面 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pushMessage #### 介绍 springboot整合rabbitmq实现消息实时推送到web页面 (根据用户id进行实时推送) #### 使用说明 1. 访问 http://127.0.0.1:8080/index.html 页面 开启websocket 开启userId为10 2. 调用服务提供者接口127.0.0.1:8080/sendDirectMessage?message=消息发送hello word&userId=20 传入userId为20 发现在index.html控制台没有发现推送的hello word消息 3. 调用如上接口传入userid为10 在查询index.html控制台 发现 消息发送hello word已经推送到控制台