类 JmsBootstrapConfiguration
- java.lang.Object
- org.springframework.jms.annotation.JmsBootstrapConfiguration
@Configuration @Role(2) public class JmsBootstrapConfiguration extends Object
@Configuration
class that registers aJmsListenerAnnotationBeanPostProcessor
bean capable of processing Spring's @JmsListener
annotation. Also register a defaultJmsListenerEndpointRegistry
.This configuration class is automatically imported when using the @
EnableJms
annotation. See theEnableJms
javadocs for complete usage details.- 从以下版本开始:
- 4.1
- 作者:
- Stephane Nicoll
- 另请参阅:
JmsListenerAnnotationBeanPostProcessor
,JmsListenerEndpointRegistry
,EnableJms
构造器概要
构造器 构造器 说明 JmsBootstrapConfiguration()
构造器详细资料
JmsBootstrapConfiguration
public JmsBootstrapConfiguration()
方法详细资料
jmsListenerAnnotationProcessor
@Bean(name="org.springframework.jms.config.internalJmsListenerAnnotationProcessor") @Role(2) public JmsListenerAnnotationBeanPostProcessor jmsListenerAnnotationProcessor()
defaultJmsListenerEndpointRegistry
@Bean(name="org.springframework.jms.config.internalJmsListenerEndpointRegistry") public JmsListenerEndpointRegistry defaultJmsListenerEndpointRegistry()