Uses of Interface
org.axonframework.commandhandling.CommandBus
Packages that use CommandBus
Package
Description
Classes that implement the concept of command handling using explicit command objects.
-
Uses of CommandBus in org.axonframework.commandhandling
Classes in org.axonframework.commandhandling that implement CommandBusModifier and TypeClassDescriptionclassSpecialization of the SimpleCommandBus that processed Commands asynchronously from the calling thread.classImplementation of the CommandBus that dispatches commands to the handlers subscribed to that specific command's name.Methods in org.axonframework.commandhandling with parameters of type CommandBusModifier and TypeMethodDescriptionAnnotationCommandHandlerAdapter.subscribe(CommandBus commandBus) Subscribe this command handler to the givencommandBus. -
Uses of CommandBus in org.axonframework.commandhandling.distributed
Classes in org.axonframework.commandhandling.distributed that implement CommandBusModifier and TypeClassDescriptionclassImplementation of aCommandBusthat is aware of multiple instances of a CommandBus working together to spread load.Methods in org.axonframework.commandhandling.distributed that return CommandBusModifier and TypeMethodDescriptionDistributedCommandBus.localSegment()Return the message bus of typeMessageBuswhich is regarded as the local segment for this implementation.Methods in org.axonframework.commandhandling.distributed that return types with arguments of type CommandBusModifier and TypeMethodDescriptiondefault Optional<CommandBus>CommandBusConnector.localSegment()Return anOptionalcontaining theCommandBuswhich is used by thisCommandBusConnectorto dispatch local and incomingCommandMessages on. -
Uses of CommandBus in org.axonframework.commandhandling.gateway
Methods in org.axonframework.commandhandling.gateway that return CommandBusModifier and TypeMethodDescriptionAbstractCommandGateway.getCommandBus()Returns the CommandBus used by this gateway.Methods in org.axonframework.commandhandling.gateway with parameters of type CommandBusModifier and TypeMethodDescriptionAbstractCommandGateway.Builder.commandBus(CommandBus commandBus) Sets theCommandBusused to dispatch commands.CommandGatewayFactory.Builder.commandBus(CommandBus commandBus) Sets theCommandBuson which to dispatchCommandMessages.DefaultCommandGateway.Builder.commandBus(CommandBus commandBus) Constructors in org.axonframework.commandhandling.gateway with parameters of type CommandBusModifierConstructorDescriptionRetryingCallback(CommandCallback<C, R> delegate, RetryScheduler retryScheduler, CommandBus commandBus) Initialize the RetryingCallback with the givendelegate, representing the actual callback passed as a parameter to dispatch, the givencommandMessage,retrySchedulerandcommandBus.