@CommandHandlermeta-annotation, this becomes the value used for all Command Handlers annotated with
JsonCommandHandler. These command handlers may (and should) still provide a parameter for the payload, but Axon will complain if it isn't a subclass of
commandNameattribute on the
JsonCommandHandlerannotation does not have a default value, and will therefore force developers to specify the name of the command. Note that to override values the attribute name must identical to the name on the
routingKeyproperty is defined exactly as in the
@CommandHandlerannotation's specification to still allow developers to choose to provide a Routing Key when using the
AnnotationUtils#findAnnotationAttributes(AnnotatedElement, String)method, or the
MessageHandlingMember. Using Java's annotation API will not take meta-annotations into consideration.