Annotation Interface Message


@Internal @Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface Message
Meta-annotation used to have a common grounds for the name() and version() for more specific Message annotation.

Furthermore, allows for annotation scanning on a more generic level than per message type.

Since:
5.0.0
Author:
Steven van Beelen
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Message>
    The type of Message this annotation applies to.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The business or domain name of the annotated message.
    The namespace or (bounded) context of the annotated message.
    The version of the annotated message.