Skip to content

Commit 50c5cc0

Browse files
committed
polishing
JmsLister is intended to be available on method or as a meta-annotation. Issue: SPR-9882
1 parent 3a5de00 commit 50c5cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* @see EnableJms
6767
* @see JmsListenerAnnotationBeanPostProcessor
6868
*/
69-
@Target({ElementType.METHOD, ElementType.TYPE})
69+
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
7070
@Retention(RetentionPolicy.RUNTIME)
7171
@MessageMapping
7272
@Documented

0 commit comments

Comments
 (0)