Uses of Interface
org.axonframework.messaging.commandhandling.CommandResultMessage
Packages that use CommandResultMessage
Package
Description
Part of the Axon Server Connector module.
Classes that implement the concept of command handling using explicit command objects.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Modelling module.
Part of the Axon Modelling module.
Part of the Axon Modelling module.
Part of the Axon Test module.
Part of the Axon Test module.
-
Uses of CommandResultMessage in org.axonframework.axonserver.connector.command
Methods in org.axonframework.axonserver.connector.command that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionCommandConverter.convertCommandResponse(io.axoniq.axonserver.grpc.command.CommandResponse commandResponse, @Nullable Converter converter) Converts the givencommandResponseto aCommandResultMessage, wrapped in aCompletableFuturefor convenience when dealing withCommandResponsesduringdispatching.AxonServerCommandBusConnector.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) Methods in org.axonframework.axonserver.connector.command with parameters of type CommandResultMessageModifier and TypeMethodDescriptionstatic io.axoniq.axonserver.grpc.command.CommandResponseCommandConverter.convertResultMessage(@Nullable CommandResultMessage resultMessage, String requestIdentifier) Converts the givenresultMessage, when present, into aCommandResponse, using the givenrequestIdentifierto correlate theCommandthat led to thisCommandResponse. -
Uses of CommandResultMessage in org.axonframework.messaging.commandhandling
Classes in org.axonframework.messaging.commandhandling that implement CommandResultMessageModifier and TypeClassDescriptionclassGeneric implementation of theCommandResultMessageinterface.Methods in org.axonframework.messaging.commandhandling that return CommandResultMessageModifier and TypeMethodDescriptionCommandResultMessage.andMetadata(Map<String, String> metadata) GenericCommandResultMessage.andMetadata(Map<String, String> metadata) default CommandResultMessageCommandResultMessage.withConvertedPayload(Class<?> type, Converter converter) CommandResultMessage.withConvertedPayload(Type type, Converter converter) default CommandResultMessageCommandResultMessage.withConvertedPayload(TypeReference<?> type, Converter converter) GenericCommandResultMessage.withConvertedPayload(Type type, Converter converter) CommandResultMessage.withMetadata(Map<String, String> metadata) GenericCommandResultMessage.withMetadata(Map<String, String> metadata) Methods in org.axonframework.messaging.commandhandling that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionCommandBus.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) SimpleCommandBus.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) CommandHandler.handle(CommandMessage command, ProcessingContext context) Handles the givencommandwithin the givencontext.protected CompletableFuture<CommandResultMessage> SimpleCommandBus.handle(CommandMessage command, CommandHandler handler) Performs the actual handling logic.SimpleCommandHandlingComponent.handle(CommandMessage command, ProcessingContext context) -
Uses of CommandResultMessage in org.axonframework.messaging.commandhandling.annotation
Methods in org.axonframework.messaging.commandhandling.annotation that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionAnnotatedCommandHandlingComponent.handle(CommandMessage command, ProcessingContext processingContext) -
Uses of CommandResultMessage in org.axonframework.messaging.commandhandling.distributed
Methods in org.axonframework.messaging.commandhandling.distributed that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionCommandBusConnector.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) Dispatches the givencommandto the appropriate command bus, which may be local or remote.DelegatingCommandBusConnector.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) DistributedCommandBus.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) PayloadConvertingCommandBusConnector.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) Methods in org.axonframework.messaging.commandhandling.distributed with parameters of type CommandResultMessageModifier and TypeMethodDescriptionvoidCommandBusConnector.ResultCallback.onSuccess(@Nullable CommandResultMessage resultMessage) Called when the command processing is successful. -
Uses of CommandResultMessage in org.axonframework.messaging.commandhandling.interception
Methods in org.axonframework.messaging.commandhandling.interception that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionInterceptingCommandBus.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) -
Uses of CommandResultMessage in org.axonframework.messaging.commandhandling.retry
Methods in org.axonframework.messaging.commandhandling.retry that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionRetryingCommandBus.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) -
Uses of CommandResultMessage in org.axonframework.messaging.commandhandling.tracing
Methods in org.axonframework.messaging.commandhandling.tracing that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionTracingCommandBus.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) -
Uses of CommandResultMessage in org.axonframework.messaging.monitoring
Methods in org.axonframework.messaging.monitoring that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptiondefault BiConsumer<? super CommandResultMessage, ? super @Nullable Throwable> MessageMonitor.MonitorCallback.complete() -
Uses of CommandResultMessage in org.axonframework.modelling.entity
Methods in org.axonframework.modelling.entity that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionEntityCommandHandler.handle(CommandMessage command, E entity, ProcessingContext context) Handles the givenCommandMessagefor the givenentity.EntityCommandHandlingComponent.handle(CommandMessage command, ProcessingContext context) ConcreteEntityMetamodel.handleCreate(CommandMessage message, ProcessingContext context) EntityMetamodel.handleCreate(CommandMessage message, ProcessingContext context) Handles the givenCommandMessageas the creation of a new entity.PolymorphicEntityMetamodel.handleCreate(CommandMessage message, ProcessingContext context) ConcreteEntityMetamodel.handleInstance(CommandMessage message, E entity, ProcessingContext context) EntityMetamodel.handleInstance(CommandMessage message, E entity, ProcessingContext context) Handles the givenCommandMessagefor the givenentity.PolymorphicEntityMetamodel.handleInstance(CommandMessage message, E entity, ProcessingContext context) -
Uses of CommandResultMessage in org.axonframework.modelling.entity.annotation
Methods in org.axonframework.modelling.entity.annotation that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionAnnotatedEntityMetamodel.handleCreate(CommandMessage message, ProcessingContext context) AnnotatedEntityMetamodel.handleInstance(CommandMessage message, E entity, ProcessingContext context) -
Uses of CommandResultMessage in org.axonframework.modelling.entity.child
Methods in org.axonframework.modelling.entity.child that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionAbstractEntityChildMetamodel.handle(CommandMessage message, P parentEntity, ProcessingContext context) EntityChildMetamodel.handle(CommandMessage message, P parentEntity, ProcessingContext context) Handles the givenCommandMessagefor the given child entity, using the provided parent entity. -
Uses of CommandResultMessage in org.axonframework.test.fixture
Methods in org.axonframework.test.fixture that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionRecordingCommandBus.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext) Method parameters in org.axonframework.test.fixture with type arguments of type CommandResultMessageModifier and TypeMethodDescriptionAxonTestPhase.Then.Command.resultMessageSatisfies(Consumer<? super CommandResultMessage> consumer) Invokes the givenconsumerof the command result message that has been returned during the When phase, allowing for any form of assertion. -
Uses of CommandResultMessage in org.axonframework.test.util
Methods in org.axonframework.test.util that return types with arguments of type CommandResultMessageModifier and TypeMethodDescriptionRecordingCommandBus.dispatch(CommandMessage command, @Nullable ProcessingContext processingContext)