CommandHandler

class CommandHandler(commandGateway: CommandGateway, commandMessageParser: CommandMessageParser, timeout: Duration = DEFAULT_TIME_OUT)

Constructors

Link copied to clipboard
constructor(commandGateway: CommandGateway, commandMessageParser: CommandMessageParser, timeout: Duration = DEFAULT_TIME_OUT)

Functions

Link copied to clipboard
fun handle(request: ServerRequest, commandBody: Any, aggregateMetadata: AggregateMetadata<*, *>): Mono<CommandResult>