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