Class JmsListenerAnnotationBeanPostProcessor

java.lang.Object
org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor
All Implemented Interfaces:
Aware, BeanFactoryAware, BeanPostProcessor, SmartInitializingSingleton, MergedBeanDefinitionPostProcessor, Ordered

public class JmsListenerAnnotationBeanPostProcessor extends Object implements MergedBeanDefinitionPostProcessor, Ordered, BeanFactoryAware, SmartInitializingSingleton
Bean post-processor that registers methods annotated with JmsListener to be invoked by a JMS message listener container created under the cover by a JmsListenerContainerFactory according to the attributes of the annotation.

Annotated methods can use flexible arguments as defined by JmsListener.

This post-processor is automatically registered by Spring's <jms:annotation-driven> XML element, and also by the EnableJms annotation.

Autodetects any JmsListenerConfigurer instances in the container, allowing for customization of the registry to be used, the default container factory or for fine-grained control over endpoints registration. See the EnableJms javadocs for complete usage details.

Since:
4.1
Author:
Stephane Nicoll, Juergen Hoeller
See Also: