springboot-mqtt-master.zip

时间:2021-09-28 10:54:48
【文件属性】:

文件名称:springboot-mqtt-master.zip

文件大小:19.9MB

文件格式:ZIP

更新时间:2021-09-28 10:54:48

springboot mqtt

使用POSTMAN请求接口时,向指定主题发布消息,可使用测试客户端接收; 项目简单,适合初学者上手 附详细的测试记录文档 1. 测试环境 3 2. 启动ActiveMQArtemis 4 3. 测试MQTT 5 4. IDEA运行JAVA项目 6 如果之前没有启动MQTT服务,则会报错 6 如上图,启动成功 7 5. POSTMAN请求接口 7 5.1. http://localhost:8080/home/abc 7 5.2. http://localhost:8080/hello 8 5.3. http://localhost:8080/topic1 9 5.4. http://localhost:8080/topic2 10 6. MQTT客户端接收 10


【文件预览】:
src
----main()
--------resources()
--------java()
springboot-mqtt.iml
target
----maven-status()
--------maven-compiler-plugin()
----generated-sources()
--------annotations()
----classes()
--------application.properties(0B)
--------com()
----springboot-mqtt-0.0.1-SNAPSHOT.jar.original(11KB)
----maven-archiver()
--------pom.properties(71B)
----springboot-mqtt-0.0.1-SNAPSHOT.jar(20.86MB)
.idea
----libraries()
--------Maven__org_springframework_boot_spring_boot_starter_2_2_6_RELEASE.xml(692B)
--------Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_33.xml(660B)
--------Maven__org_springframework_boot_spring_boot_starter_web_2_2_6_RELEASE.xml(720B)
--------Maven__org_springframework_spring_messaging_5_2_5_RELEASE.xml(651B)
--------Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_33.xml(611B)
--------Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml(633B)
--------Maven__ch_qos_logback_logback_core_1_2_3.xml(547B)
--------Maven__org_springframework_spring_jcl_5_2_5_RELEASE.xml(609B)
--------Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_3.xml(651B)
--------Maven__io_projectreactor_reactor_core_3_3_4_RELEASE.xml(615B)
--------Maven__org_springframework_spring_tx_5_2_5_RELEASE.xml(602B)
--------Maven__ch_qos_logback_logback_classic_1_2_3.xml(568B)
--------Maven__com_fasterxml_classmate_1_5_1.xml(522B)
--------Maven__org_springframework_boot_spring_boot_starter_validation_2_2_6_RELEASE.xml(769B)
--------Maven__org_springframework_spring_core_5_2_5_RELEASE.xml(616B)
--------Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_3.xml(681B)
--------Maven__org_springframework_retry_spring_retry_1_2_5_RELEASE.xml(647B)
--------Maven__org_yaml_snakeyaml_1_25.xml(495B)
--------Maven__org_springframework_spring_aop_5_2_5_RELEASE.xml(609B)
--------Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_6_RELEASE.xml(734B)
--------Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml(608B)
--------Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_33.xml(625B)
--------Maven__org_springframework_boot_spring_boot_starter_json_2_2_6_RELEASE.xml(727B)
--------Maven__org_reactivestreams_reactive_streams_1_0_3.xml(595B)
--------Maven__org_springframework_spring_context_5_2_5_RELEASE.xml(637B)
--------Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_2_2.xml(681B)
--------Maven__org_springframework_spring_webmvc_5_2_5_RELEASE.xml(630B)
--------Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_6_RELEASE.xml(741B)
--------Maven__org_springframework_boot_spring_boot_2_2_6_RELEASE.xml(636B)
--------Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml(681B)
--------Maven__org_springframework_integration_spring_integration_core_5_2_5_RELEASE.xml(748B)
--------Maven__org_springframework_integration_spring_integration_stream_5_2_5_RELEASE.xml(762B)
--------Maven__com_fasterxml_jackson_core_jackson_core_2_10_3.xml(602B)
--------Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml(573B)
--------Maven__org_springframework_boot_spring_boot_starter_logging_2_2_6_RELEASE.xml(748B)
--------Maven__org_springframework_spring_expression_5_2_5_RELEASE.xml(658B)
--------Maven__org_slf4j_slf4j_api_1_7_30.xml(513B)
--------Maven__org_springframework_spring_beans_5_2_5_RELEASE.xml(623B)
--------Maven__org_springframework_spring_web_5_2_5_RELEASE.xml(609B)
--------Maven__org_springframework_integration_spring_integration_mqtt_5_2_5_RELEASE.xml(748B)
--------Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml(633B)
--------Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_3.xml(736B)
--------Maven__org_slf4j_jul_to_slf4j_1_7_30.xml(534B)
--------Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_3.xml(695B)
--------Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml(608B)
--------Maven__com_fasterxml_jackson_core_jackson_databind_2_10_3.xml(630B)
----misc.xml(388B)
----compiler.xml(836B)
----uiDesigner.xml(9KB)
----workspace.xml(7KB)
----.name(15B)
----encodings.xml(191B)
----modules.xml(277B)
----.gitignore(245B)
----jarRepositories.xml(864B)
README.md
测试资料.docx
pom.xml

网友评论