Interface CommandMessageHandler
- All Superinterfaces:
MessageHandler<CommandMessage<?>>
- All Known Implementing Classes:
AggregateAnnotationCommandHandler,AnnotationCommandHandlerAdapter
MessageHandler specialization for handlers of Command Messages. Besides handling a message, CommandMessageHandlers
also specify which command names they support.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the set of command names this handler supports.Methods inherited from interface org.axonframework.messaging.MessageHandler
canHandle, canHandleType, getTargetType, handle
-
Method Details
-
supportedCommandNames
Returns the set of command names this handler supports.- Returns:
- the set of supported command names
-