1.导入jar包:<!--jmsTemplate--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-activemq</artifactId></dependency><dependency><groupId>org.apache.activemq</groupId><artifactId>activemq-pool</artifactId></dependency>2.填写配置文件(application.properties)#设置JMS(AMQ)spring.activemq.broker-url=tcp://localhost:61616spring.activemq.user=ad...
继续阅读 >
分类:xml和JavaConfig配置
1.导入jar包:<!--jmsTemplate--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-activemq</artifactId></dependency><dependency><groupId>org.apache.activemq</groupId><artifactId>activemq-pool</artifactId></dependency>2.填写配置文件(application.properties)#设置JMS(AMQ)spring.activemq.broker-url=tcp://localhost:61616spring.activemq.user=ad...
继续阅读 >