• 大小: 84KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-03
  • 语言: 其他
  • 标签: springboot  rocketMQ  

资源简介

springboot集成rocketMQdemo,简单,简洁,高效,大家可以下载参考参考

资源截图

代码片段和文件信息

package com.example.demo;

import com.example.demo.rocketmq.RocketMQConsumer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class RocketmqDemoApplication {

    public static void main(String[] args) {
        ApplicationContext applicationContext = SpringApplication.run(RocketmqDemoApplication.class args);
        RocketMQConsumer rocketMQConsumer = (RocketMQConsumer)applicationContext.getBean(“RocketMQConsumer“);
        rocketMQConsumer.defaultMQPushConsumer();

    }
}

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

     文件        268  2018-08-27 15:54  demo\.gitignore

     文件        620  2018-08-27 15:56  demo\.idea\compiler.xml

     文件        172  2018-08-27 15:56  demo\.idea\encodings.xml

     文件        568  2018-08-27 16:00  demo\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xml

     文件        547  2018-08-27 16:00  demo\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xml

     文件        514  2018-08-27 16:00  demo\.idea\libraries\Maven__com_alibaba_fastjson_1_2_29.xml

     文件        522  2018-08-27 16:00  demo\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml

     文件        644  2018-08-27 16:00  demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml

     文件        595  2018-08-27 16:00  demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_9_6.xml

     文件        623  2018-08-27 16:00  demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml

     文件        674  2018-08-27 16:00  demo\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml

     文件        688  2018-08-27 16:00  demo\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_6.xml

     文件        729  2018-08-27 16:00  demo\.idea\libraries\Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_6.xml

     文件        546  2018-08-27 16:00  demo\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xml

     文件        700  2018-08-27 16:00  demo\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml

     文件        551  2018-08-27 16:00  demo\.idea\libraries\Maven__io_netty_netty_all_4_1_27_Final.xml

     文件        712  2018-08-27 16:00  demo\.idea\libraries\Maven__io_netty_netty_tcnative_boringssl_static_1_1_33_Fork26.xml

     文件        611  2018-08-27 16:00  demo\.idea\libraries\Maven__javax_annotation_javax_annotation_api_1_3_2.xml

     文件        611  2018-08-27 16:00  demo\.idea\libraries\Maven__javax_validation_validation_api_2_0_1_Final.xml

     文件        455  2018-08-27 16:00  demo\.idea\libraries\Maven__junit_junit_4_12.xml

     文件        536  2018-08-27 16:00  demo\.idea\libraries\Maven__net_bytebuddy_byte_buddy_1_7_11.xml

     文件        578  2018-08-27 16:00  demo\.idea\libraries\Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml

     文件        542  2018-08-27 16:00  demo\.idea\libraries\Maven__net_minidev_accessors_smart_1_2.xml

     文件        507  2018-08-27 16:00  demo\.idea\libraries\Maven__net_minidev_json_smart_2_3.xml

     文件        556  2018-08-27 16:00  demo\.idea\libraries\Maven__org_apache_commons_commons_lang3_3_7.xml

     文件        573  2018-08-27 16:00  demo\.idea\libraries\Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml

     文件        608  2018-08-27 16:00  demo\.idea\libraries\Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml

     文件        588  2018-08-27 16:00  demo\.idea\libraries\Maven__org_apache_rocketmq_rocketmq_client_4_3_0.xml

     文件        588  2018-08-27 16:00  demo\.idea\libraries\Maven__org_apache_rocketmq_rocketmq_common_4_3_0.xml

     文件        595  2018-08-27 16:00  demo\.idea\libraries\Maven__org_apache_rocketmq_rocketmq_logging_4_3_0.xml

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

评论

共有 条评论