@Configuration @Role(value=2) public class JmsBootstrapConfiguration extends Object
@Configuration
class that registers a JmsListenerAnnotationBeanPostProcessor
bean capable of processing Spring's @JmsListener
annotation. Also register
a default JmsListenerEndpointRegistry
.
This configuration class is automatically imported when using the @EnableJms
annotation. See the EnableJms
javadocs for complete usage details.
JmsListenerAnnotationBeanPostProcessor
,
JmsListenerEndpointRegistry
,
EnableJms
Constructor and Description |
---|
JmsBootstrapConfiguration() |
Modifier and Type | Method and Description |
---|---|
JmsListenerEndpointRegistry |
defaultJmsListenerEndpointRegistry() |
JmsListenerAnnotationBeanPostProcessor |
jmsListenerAnnotationProcessor() |
@Bean(name="org.springframework.jms.config.internalJmsListenerAnnotationProcessor") @Role(value=2) public JmsListenerAnnotationBeanPostProcessor jmsListenerAnnotationProcessor()
@Bean(name="org.springframework.jms.config.internalJmsListenerEndpointRegistry") public JmsListenerEndpointRegistry defaultJmsListenerEndpointRegistry()