Uses of Interface
org.axonframework.messaging.commandhandling.gateway.CommandResult
Packages that use CommandResult
-
Uses of CommandResult in org.axonframework.messaging.commandhandling.gateway
Classes in org.axonframework.messaging.commandhandling.gateway that implement CommandResultModifier and TypeClassDescriptionclassACommandResultthat wraps a completable future providing theMessagethat represents the result.Methods in org.axonframework.messaging.commandhandling.gateway that return CommandResultModifier and TypeMethodDescriptiondefault CommandResultAttaches the givenerrorHandlertothiscommand result.default <R> CommandResultCommandResult.onSuccess(Class<R> resultType, BiConsumer<R, Message> successHandler) Attaches the givensuccessHandlertothiscommand result, expecting the givenresultType.default <R> CommandResultAttaches the givensuccessHandlertothiscommand result, expecting the givenresultType.default CommandResultAttaches the givensuccessHandlertothiscommand result.Sends the givencommandand returns aCommandResultimmediately, without waiting for the command to execute.Sends the givencommandwith the givenmetadataand returns aCommandResultimmediately, without waiting for the command to execute.default CommandResultSends the givencommandin the providedcontext(if available) and returns aCommandResultimmediately, without waiting for the command to execute.default CommandResultSends the givencommandwith the givenmetadatain the providedcontext(if available) and returns aCommandResultimmediately, without waiting for the command to execute.CommandGateway.send(Object command, Metadata metadata, ProcessingContext context) Sends the givencommandwith the givenmetadatain the providedcontext(if available) and returns aCommandResultimmediately, without waiting for the command to execute.default CommandResultCommandGateway.send(Object command, ProcessingContext context) Sends the givencommandin the providedcontext(if available) and returns aCommandResultimmediately, without waiting for the command to execute.ConvertingCommandGateway.send(Object command, Metadata metadata, ProcessingContext context) DefaultCommandGateway.send(Object command, Metadata metadata, ProcessingContext context)