作spring和ActiveMQ的集成,做maven依賴的時候有感(之前都不在意,如今不同了........省略)spring
<!-- https://mvnrepository.com/artifact/org.apache.activemq/activemq-spring --> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-spring</artifactId> <version>5.14.5</version> </dependency>
添加activemq-spring.jar後apache
竟然依賴了這麼多包maven
換個模式spa
添加activemq-all.jarcode
<!-- https://mvnrepository.com/artifact/org.apache.activemq/activemq-all --> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-all</artifactId> <version>5.14.5</version> </dependency>
發現這個包雖然只有一個,可是真大啊,算我見過最大的包之一了。blog
最終仍是選體積小的,不怕數量多(看着Disgust)。it