Uses of Class
org.axonframework.axonserver.connector.command.AxonServerCommandBus.Builder
Packages that use AxonServerCommandBus.Builder
-
Uses of AxonServerCommandBus.Builder in org.axonframework.axonserver.connector.command
Methods in org.axonframework.axonserver.connector.command that return AxonServerCommandBus.BuilderModifier and TypeMethodDescriptionAxonServerCommandBus.Builder.axonServerConnectionManager(AxonServerConnectionManager axonServerConnectionManager) Sets theAxonServerConnectionManagerused to create connections between this application and an Axon Server instance.static AxonServerCommandBus.BuilderAxonServerCommandBus.builder()Instantiate a Builder to be able to create anAxonServerCommandBus.AxonServerCommandBus.Builder.commandInProgressAwait(Duration commandInProgressAwait) Sets the duration to wait for in-progress command handlers to complete during shutdown.AxonServerCommandBus.Builder.configuration(AxonServerConfiguration configuration) Sets theAxonServerConfigurationused to configure several components within the Axon Server Command Bus, like setting the client id or the number of command handling threads used.AxonServerCommandBus.Builder.defaultCommandCallback(CommandCallback<Object, Object> defaultCommandCallback) Sets the callback to use when commands are dispatched in a "fire and forget" method, such asAxonServerCommandBus.dispatch(CommandMessage).AxonServerCommandBus.Builder.defaultContext(String defaultContext) Sets the default context for this command bus to connect to.AxonServerCommandBus.Builder.executorServiceBuilder(ExecutorServiceBuilder executorServiceBuilder) Sets theExecutorServiceBuilderwhich builds anExecutorServicebased on a givenAxonServerConfigurationandBlockingQueueofRunnable.AxonServerCommandBus.Builder.loadFactorProvider(CommandLoadFactorProvider loadFactorProvider) Sets theCommandLoadFactorProviderwhich provides the load factor values for all commands this client can handle.AxonServerCommandBus.Builder.localSegment(CommandBus localSegment) Sets the localCommandBusused to dispatch incoming commands to the local environment.AxonServerCommandBus.Builder.priorityCalculator(CommandPriorityCalculator priorityCalculator) Sets theCommandPriorityCalculatorused to deduce the priority of an incoming command among other commands, to give precedence over high(er) valued queries for example.AxonServerCommandBus.Builder.routingStrategy(RoutingStrategy routingStrategy) Sets theRoutingStrategyused to correctly configure connections between Axon clients and Axon Server.AxonServerCommandBus.Builder.serializer(Serializer serializer) Sets theSerializerused to de-/serialize incoming and outgoing commands and command results.AxonServerCommandBus.Builder.spanFactory(CommandBusSpanFactory spanFactory) Sets theCommandBusSpanFactoryimplementation to use for providing tracing capabilities.AxonServerCommandBus.Builder.spanFactory(SpanFactory spanFactory) Deprecated.AxonServerCommandBus.Builder.targetContextResolver(TargetContextResolver<? super CommandMessage<?>> targetContextResolver) Sets theTargetContextResolverused to resolve the target (bounded) context of an ingestedCommandMessage.Constructors in org.axonframework.axonserver.connector.command with parameters of type AxonServerCommandBus.BuilderModifierConstructorDescriptionInstantiate aAxonServerCommandBusbased on the fields contained in theAxonServerCommandBus.Builder.
spanFactory(CommandBusSpanFactory)instead as it provides more configurability.