简体   繁体   中英

What is the spring boot dependency for JMS?

The spring-boot guide https://spring.io/guides/gs/messaging-jms/ uses spring-boot-starter-activemq and that in turn refers to spring-jms. If I want to use a different message broker and spring doesn't provide a starter jar for that particular message broker, how do I go about including the spring-jms in dependencies? Can I just include spring-jms or is there a better way to do this?

That's correct: you need to include spring-jms and Vendor-specific dependency.

More info is in the Reference Manual .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM