Record Class AnnotationMessageTypeResolver.AnnotationSpecification

java.lang.Object
java.lang.Record
org.axonframework.messaging.core.annotation.AnnotationMessageTypeResolver.AnnotationSpecification
Record Components:
nameAnnotation - the annotation class to search for when AnnotationMessageTypeResolver.resolve(Class) is invoked for the nameAttribute specifically
nameAttribute - the attribute for the MessageType.name(), that should be present on the given annotation
versionAnnotation - the annotation class to search for when AnnotationMessageTypeResolver.resolve(Class) is invoked for the versionAttribute specifically
versionAttribute - the attribute for the MessageType.version(), that should be present on the given annotation
namespaceAnnotation - the annotation class to search for when AnnotationMessageTypeResolver.resolve(Class) is invoked for the namespaceAttribute specifically
namespaceAttribute - the attribute for the QualifiedName.namespace() field of the QualifiedName set in the resolved MessageType, or just the nameAttribute() if null
Enclosing class:
AnnotationMessageTypeResolver

public static record AnnotationMessageTypeResolver.AnnotationSpecification(Class<? extends Annotation> nameAnnotation, String nameAttribute, Class<? extends Annotation> versionAnnotation, String versionAttribute, Class<? extends Annotation> namespaceAnnotation, @Nullable String namespaceAttribute) extends Record
An annotation specification unique to the AnnotationMessageTypeResolver.