spring_reference/IV. Spring Boot features/30.1. JMS.md

6 lines
553 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### 30.1. JMS
javax.jms.ConnectionFactory接口提供了一个标准的用于创建一个javax.jms.Connection的方法javax.jms.Connection用于和JMS代理broker交互。
尽管为了使用JMSSpring需要一个ConnectionFactory但通常你不需要直接使用它而是依赖于上层消息抽象具体参考Spring框架的[相关章节](http://docs.spring.io/spring/docs/4.1.4.RELEASE/spring-framework-reference/htmlsingle/#jms)。Spring Boot也会自动配置发送和接收消息需要的设施infrastructure