Annotation Interface EventSourced


@Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Component @Scope("prototype") public @interface EventSourced
Annotation that informs Axon's auto configurer for Spring that a given Component is an event-sourced entity instance.

This annotation is a meta-annotation of EventSourcedEntity allowing to put the configuration directly.

Since:
3.0
Author:
Allard Buijze, Simon Zambrovski