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
1 changed files with 1 additions and 1 deletions

View File

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