polishing

JmsLister is intended to be available on method or as a
meta-annotation.

Issue: SPR-9882
This commit is contained in:
Stephane Nicoll
2014-04-18 12:08:33 +02:00
parent 3a5de00c41
commit 50c5cc0bd2

View File

@@ -66,7 +66,7 @@ import org.springframework.messaging.handler.annotation.MessageMapping;
* @see EnableJms
* @see JmsListenerAnnotationBeanPostProcessor
*/
@Target({ElementType.METHOD, ElementType.TYPE})
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@MessageMapping
@Documented