资源简介

springboot 整合websocket,使用rabbitmq作为消息代理。 实现单点推送消息和多点推送消息, 以及加上了消息确认消息回调。

资源截图

代码片段和文件信息

package cn.jc.springbootwebsocketdemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringbootWebsocketDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootWebsocketDemoApplication.class args);
    }

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......       333  2019-08-25 01:28  springboot-websocket-demo--\.gitignore

     文件         25  2019-10-09 14:10  springboot-websocket-demo--\.idea\.name

     文件        872  2019-10-09 14:57  springboot-websocket-demo--\.idea\compiler.xml

     文件        177  2019-10-09 14:57  springboot-websocket-demo--\.idea\encodings.xml

     文件        592  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xml

     文件        571  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xml

     文件        567  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__commons_codec_commons_codec_1_11.xml

     文件        538  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_alibaba_fastjson_1_2_58.xml

     文件        546  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml

     文件        668  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml

     文件        619  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_9_4.xml

     文件        647  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_9_4.xml

     文件        698  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_4.xml

     文件        712  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_4.xml

     文件        753  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_4.xml

     文件        570  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xml

     文件        556  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_rabbitmq_amqp_client_5_1_2.xml

     文件        612  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_rabbitmq_http_client_1_3_1_RELEASE.xml

     文件        724  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml

     文件        611  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_lettuce_lettuce_core_5_0_2_RELEASE.xml

     文件        596  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_netty_netty_buffer_4_1_22_Final.xml

     文件        589  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_netty_netty_codec_4_1_22_Final.xml

     文件        624  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_netty_netty_codec_http_4_1_22_Final.xml

     文件        631  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_netty_netty_codec_socks_4_1_22_Final.xml

     文件        596  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_netty_netty_common_4_1_22_Final.xml

     文件        603  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_netty_netty_handler_4_1_22_Final.xml

     文件        645  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_netty_netty_handler_proxy_4_1_22_Final.xml

     文件        610  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_netty_netty_resolver_4_1_22_Final.xml

     文件        617  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_netty_netty_transport_4_1_22_Final.xml

     文件        708  2020-08-25 11:48  springboot-websocket-demo--\.idea\libraries\Maven__io_netty_netty_transport_native_epoll_4_1_22_Final.xml

............此处省略161个文件信息

评论

共有 条评论