Package org.axonframework.messaging.commandhandling
package org.axonframework.messaging.commandhandling
Classes that implement the concept of command handling using explicit command objects.
-
ClassDescriptionThe mechanism that dispatches
commandsto their appropriatecommand handler.Exception indicating that an error has occurred while trying to dispatch a command to another (potentially remote) segment of the CommandBus.Indicates that an exception has occurred while handling a command.Interface describing a handler ofcommands.CommandHandlerRegistry<S extends CommandHandlerRegistry<S>>Interface describing a registry ofcommand handlers.Interface describing a group ofCommandHandlersbelonging to a single component.AMessagecarrying a command as its payload.Calculate the priority ofCommandMessagebased on its content.AResultMessagethat represents a result from handling aCommandMessage.Exception indicating a duplicateCommandHandlerwas subscribed.Generic implementation of theCommandMessageinterface.Generic implementation of theCommandResultMessageinterface.ARoutingStrategyimplementation that uses the value in theMetadataof aCommandMessageassigned to a given key.Exception indicating that no suitable command handler could be found for the given command.Interface describing a mechanism that generates a routing key for a given command.Implementation of theCommandBusthatdispatchescommands to the handlers subscribed to that specific command'sname.A simple implementation of theCommandHandlingComponentinterface, allowing for easy registration ofCommandHandlersand otherCommandHandlingComponents.Set of simpleRoutingStrategyimplementations.