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)。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM