CommandHandler

class CommandHandler(commandGateway: CommandGateway, commandMessageFactory: CommandMessageFactory, timeout: Duration = DEFAULT_TIME_OUT)

Constructors

Link copied to clipboard
constructor(commandGateway: CommandGateway, commandMessageFactory: CommandMessageFactory, timeout: Duration = DEFAULT_TIME_OUT)

Functions

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