Interface EventHandlingMember<T>
- Type Parameters:
T- The type of entity to which the message handler will delegate the actual handling of the message.
- All Superinterfaces:
MessageHandlingMember<T>
Interface indicating that a
MessageHandlingMember is capable of handling specific event messages.- Since:
- 5.0.0
- Author:
- Mateusz Nowak
-
Method Summary
Methods inherited from interface org.axonframework.messaging.core.annotation.MessageHandlingMember
attribute, canHandle, canHandleMessageType, canHandleType, declaringClass, handle, handleSync, payloadType, priority, signature, unwrap
-
Method Details
-
eventName
String eventName()Returns the name of the event that can be handled.Might be an empty
Stringwhen undefined by this handling member, in which case components gatheringEventHandlingMembersshould fall back to other mechanisms to define the name of a handling member.- Returns:
- The name of the event that can be handled.
-