# jms-test **Repository Path**: ruan1008/jms-test ## Basic Information - **Project Name**: jms-test - **Description**: SpringBoot和jms(ActiveMQ)简单的整合 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-05-10 - **Last Updated**: 2021-05-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jms-test #### 介绍 SpringBoot+ActiveMQ #### 软件架构 1. ActiveMQ简单使用,@JmsListener注解方式以及原始创建方式使用 2. 两个main方法测试包com.imooc.jmstest.queue / com.imooc.jmstest.topic 3. boot项目结构 controller - service 4. MQ队列地址tcp://127.0.0.1:61616 5. MQ页面管理地址 http://127.0.0.1:8161 #### 安装教程 1. 本地启动ActiveMQ (下载地址 https://activemq.apache.org/components/classic/download/) 2. 启动main方法测试 / 启动Springboot相关测试 #### ActiveMQ总结 1. ActiveMQ主要有两种模式(队列模式以及主题模式) 2. 队列模式发布者发布一条消息只能被一个消费者所消费,而主题模式的发布的消息可被多个消费者同时消费 3. 主题模式的消息消费者必须提前订阅了,才能获取到发布者发布的消息,之前发布的消息则不可再被获取 4. windows MQ启动 \apache-activemq-5.15.8\bin\win64文件夹下 activemq.bat双击启动/或者CMD启动 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)