Interface EventListener<EventType extends DomainEvent>

Type Parameters:
EventType - The type of events to listen to
All Superinterfaces:
MessageListener<EventType>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Deprecated public interface EventListener<EventType extends DomainEvent> extends MessageListener<EventType>
Deprecated.
Use MessageListener instead
Deprecated interface to listen to events. Currently kept for compatibility reasons