Uses of Interface
org.axonframework.messaging.commandhandling.CommandBus
Packages that use CommandBus
Package
Description
Classes that implement the concept of command handling using explicit command objects.
A collection of classes which may prove useful when testing Axon-based classes.
-
Uses of CommandBus in org.axonframework.messaging.commandhandling
Classes in org.axonframework.messaging.commandhandling that implement CommandBusModifier and TypeClassDescriptionclassImplementation of theCommandBusthatdispatchescommands to the handlers subscribed to that specific command'sname. -
Uses of CommandBus in org.axonframework.messaging.commandhandling.distributed
Classes in org.axonframework.messaging.commandhandling.distributed that implement CommandBusModifier and TypeClassDescriptionclassImplementation of aCommandBusthat is aware of multiple instances of aCommandBusworking together to spread load.Constructors in org.axonframework.messaging.commandhandling.distributed with parameters of type CommandBusModifierConstructorDescriptionDistributedCommandBus(CommandBus localSegment, CommandBusConnector connector, DistributedCommandBusConfiguration configuration) Constructs aDistributedCommandBususing the givenlocalSegmentforsubscribinghandlers and the givenconnectorto dispatch commands and replies to different segments of theCommandBus. -
Uses of CommandBus in org.axonframework.messaging.commandhandling.gateway
Constructors in org.axonframework.messaging.commandhandling.gateway with parameters of type CommandBusModifierConstructorDescriptionDefaultCommandGateway(CommandBus commandBus, MessageTypeResolver messageTypeResolver, CommandPriorityCalculator priorityCalculator, RoutingStrategy routingKeyResolver) Initialize theDefaultCommandGatewayto send commands through givencommandBus. -
Uses of CommandBus in org.axonframework.messaging.commandhandling.interception
Classes in org.axonframework.messaging.commandhandling.interception that implement CommandBusModifier and TypeClassDescriptionclassConstructors in org.axonframework.messaging.commandhandling.interception with parameters of type CommandBusModifierConstructorDescriptionInterceptingCommandBus(CommandBus delegate, List<MessageHandlerInterceptor<? super CommandMessage>> handlerInterceptors, List<MessageDispatchInterceptor<? super CommandMessage>> dispatchInterceptors) Constructs aInterceptingCommandBus, delegating dispatching and handling logic to the givendelegate. -
Uses of CommandBus in org.axonframework.messaging.commandhandling.retry
Classes in org.axonframework.messaging.commandhandling.retry that implement CommandBusModifier and TypeClassDescriptionclassACommandBuswrapper that will retry dispatchingcommandsthat resulted in a failure.Constructors in org.axonframework.messaging.commandhandling.retry with parameters of type CommandBusModifierConstructorDescriptionRetryingCommandBus(CommandBus delegate, RetryScheduler retryScheduler) Initialize theRetryingCommandBusto dispatch commands on givendelegateand perform retries using the givenretryScheduler. -
Uses of CommandBus in org.axonframework.messaging.commandhandling.tracing
Classes in org.axonframework.messaging.commandhandling.tracing that implement CommandBusModifier and TypeClassDescriptionclassACommandBuswrapper that adds tracing for outgoing and incomingcommands.Constructors in org.axonframework.messaging.commandhandling.tracing with parameters of type CommandBusModifierConstructorDescriptionTracingCommandBus(CommandBus delegate, CommandBusSpanFactory spanFactory) Initialize theTracingCommandBusto wrap the givendelegateby recording traces on the givenspanFactory. -
Uses of CommandBus in org.axonframework.messaging.core.configuration
Method parameters in org.axonframework.messaging.core.configuration with type arguments of type CommandBusModifier and TypeMethodDescriptionMessagingConfigurer.registerCommandBus(ComponentBuilder<CommandBus> commandBusBuilder) Registers the givenCommandBusfactory in thisConfigurer. -
Uses of CommandBus in org.axonframework.test.fixture
Classes in org.axonframework.test.fixture that implement CommandBusModifier and TypeClassDescriptionclassAn CommandBus implementation recording all the commands that are dispatched.Methods in org.axonframework.test.fixture that return CommandBusModifier and TypeMethodDescriptionRecordingCommandBus.subscribe(QualifiedName name, CommandHandler commandHandler) Constructors in org.axonframework.test.fixture with parameters of type CommandBusModifierConstructorDescriptionRecordingCommandBus(CommandBus delegate) Creates a newRecordingCommandBusthat will record all commands dispatched to the givendelegate. -
Uses of CommandBus in org.axonframework.test.util
Classes in org.axonframework.test.util that implement CommandBusModifier and TypeClassDescriptionclassCommandBus implementation that does not perform any actions on subscriptions or dispatched commands, but records them instead.Methods in org.axonframework.test.util that return CommandBusModifier and TypeMethodDescriptionRecordingCommandBus.subscribe(QualifiedName name, CommandHandler handler)