Browse Source

polishing

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

Issue: SPR-9882
pull/518/head
Stephane Nicoll 11 years ago
parent
commit
50c5cc0bd2
  1. 2
      spring-jms/src/main/java/org/springframework/jms/annotation/JmsListener.java

2
spring-jms/src/main/java/org/springframework/jms/annotation/JmsListener.java

@ -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

Loading…
Cancel
Save