- There can be multiple listeners for one event
- for the event subscriber, the event must be the first object of the method
- Object must be annotated with
@AggregateEvent
- must be a singleton bean
-
first implementation
- subscriber must be annotated wit
@EventListener
- subscriber must accept a single param of an event type
- subscriber method must be public
- class must be annotated with
@Singleton
- subscriber must be annotated wit
-
EventClassName, EventClass FQDN, name of subscriber