SSM 框架集成 ActiveMQ
搭建ActiveMQ的步骤此处不再介绍,本文主要记录如何使用SSM 框架集成 ActiveMQ 修改pom.xml文件 <!--activeMQ--> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-all</artifactId> <version>5.2.0</version> </dependency> 添加MQ的配置文件 applicationContext-activemq.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:amq="http://activemq.apache.org/schema/core" xmlns:jms="http://www.springframework.org/schema/jms" xsi:schemaLocation=" http://www