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.
A collection of classes which may prove useful when testing Axon-based classes.
-
Uses of CommandBus in org.axonframework.axonserver.connector.command
Classes in org.axonframework.axonserver.connector.command that implement CommandBusModifier and TypeClassDescriptionclassAxonCommandBusimplementation that connects to Axon Server to submit and receive commands and command responses.Methods in org.axonframework.axonserver.connector.command that return CommandBusMethods in org.axonframework.axonserver.connector.command with parameters of type CommandBusModifier and TypeMethodDescriptionAxonServerCommandBus.Builder.localSegment(CommandBus localSegment) Sets the localCommandBusused to dispatch incoming commands to the local environment. -
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. -
Uses of CommandBus in org.axonframework.config
Methods in org.axonframework.config that return CommandBusModifier and TypeMethodDescriptiondefault CommandBusConfiguration.commandBus()Returns the Command Bus defined in this Configuration.protected CommandBusDefaultConfigurer.defaultCommandBus(Configuration config) Provides the default CommandBus implementation.Method parameters in org.axonframework.config with type arguments of type CommandBusModifier and TypeMethodDescriptiondefault ConfigurerConfigurer.configureCommandBus(Function<Configuration, CommandBus> commandBusBuilder) Configures the given Command Bus to use in this configuration. -
Uses of CommandBus in org.axonframework.disruptor.commandhandling
Classes in org.axonframework.disruptor.commandhandling that implement CommandBusModifier and TypeClassDescriptionclassAsynchronous CommandBus implementation with very high performance characteristics. -
Uses of CommandBus in org.axonframework.modelling.command
Methods in org.axonframework.modelling.command with parameters of type CommandBusModifier and TypeMethodDescriptionAggregateAnnotationCommandHandler.subscribe(CommandBus commandBus) Subscribe this command handler to the givencommandBus. -
Uses of CommandBus in org.axonframework.spring.config
Methods in org.axonframework.spring.config that return CommandBusModifier and TypeMethodDescriptionAxonConfiguration.commandBus()Deprecated.AxonConfiguration.defaultCommandBus()Deprecated.Methods in org.axonframework.spring.config with parameters of type CommandBusModifier and TypeMethodDescriptionAxonConfiguration.commandGateway(CommandBus commandBus) Deprecated.Returns the CommandGateway used to send commands to command handlers.voidCommandHandlerSubscriber.setCommandBus(CommandBus commandBus) Deprecated.Sets the command bus to use when subscribing command handlers. -
Uses of CommandBus in org.axonframework.springboot.autoconfig
Methods in org.axonframework.springboot.autoconfig with parameters of type CommandBusModifier and TypeMethodDescriptionAxonServerBusAutoConfiguration.axonServerCommandBus(AxonServerConnectionManager axonServerConnectionManager, AxonServerConfiguration axonServerConfiguration, CommandBus localSegment, Serializer messageSerializer, RoutingStrategy routingStrategy, CommandPriorityCalculator priorityCalculator, CommandLoadFactorProvider loadFactorProvider, TargetContextResolver<? super CommandMessage<?>> targetContextResolver, CommandBusSpanFactory spanFactory) AxonAutoConfiguration.commandGateway(CommandBus commandBus) org.springframework.beans.factory.InitializingBeanInterceptorAutoConfiguration.commandHandlerInterceptorConfigurer(CommandBus commandBus, Optional<List<MessageHandlerInterceptor<? super CommandMessage<?>>>> interceptors) -
Uses of CommandBus in org.axonframework.test.aggregate
Methods in org.axonframework.test.aggregate that return CommandBusModifier and TypeMethodDescriptionAggregateTestFixture.getCommandBus()FixtureConfiguration.getCommandBus()Returns the command bus used by this fixture. -
Uses of CommandBus in org.axonframework.test.saga
Methods in org.axonframework.test.saga that return CommandBusModifier and TypeMethodDescriptionFixtureConfiguration.getCommandBus()Returns the command bus used by this fixture. -
Uses of CommandBus in org.axonframework.test.utils
Classes in org.axonframework.test.utils that implement CommandBusModifier and TypeClassDescriptionclassCommandBus implementation that does not perform any actions on subscriptions or dispatched commands, but records them instead.