Annotation Interface Event


@Retention(RUNTIME) @Target({TYPE,ANNOTATION_TYPE}) public @interface Event
Annotation used to mark an object as an event.

Allows for specifying the business/domain name() of the event and the version() of the event. The fields are used to map an annotated-event to a EventMessage.

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

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