最近在springboot 使用 activemq 自动安装
sudo aptinstall activemq
自动安装,但是自动安装的过程中,出了问题
由于是新手,还对ubunu16.04 不怎么会操作
一下提供两种代替 方法
1
springboot 内置的 activemq
pom文件
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jms</artifactId> </dependency> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-client</artifactId> </dependency> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-broker</artifactId> </dependency>
activem-breake
就是activemq 内置的与spring boot
就像 tomcat 内置
方法二
使用 rabbitmq 代替 activemq
参考博客
http://www.cnblogs.com/hongdada/p/7203589.html
解决问题使人快乐,,嘻嘻