Hi,
is there a reason, why “value()” can’t be used inside meta-annotations?
If the parameter is named like the simple class name of the original annotation, then the parameter gets mapped right.
(axon-messaging, AnnotationUtils, resolveName Method)
Not Working Example:
`
@Target({ ElementType.TYPE, ElementType.ANNOTATION_TYPE })
@Retention(RetentionPolicy.RUNTIME)@Inherited
@Documented
@ProcessingGroup("")
public @interface MyProcessingGroup {
String value();
}
`
Working Example:
`
@Target({ ElementType.TYPE, ElementType.ANNOTATION_TYPE })
@Retention(RetentionPolicy.RUNTIME)@Inherited
@Documented
@ProcessingGroup("")
public @interface MyProcessingGroup {
String processingGroup();
}
`
Best Regards.
Johnny.