spring集成ActiveMQ居然要依赖这么多包

 

做spring和ActiveMQ的集成,作maven依赖的时候有感(以前都不在乎,现在不一样了........省略)

        <!-- 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后

居然依赖了这么多包

换个模式

添加activemq-all.jar

        <!-- 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>

发现这个包虽然只有一个,但是真大啊,算我见过最大的包之一了。

 最终还是选体积小的,不怕数量多(看着Disgust)。

posted @ 2017-04-26 15:57  aoeiuv  阅读(6616)  评论(0编辑  收藏  举报