CommandMessageFactory

Factory interface for creating command messages from command builders.

CommandMessageFactory provides methods to convert CommandBuilder instances into CommandMessage objects, which can then be sent to the command bus.

See also

Inheritors

Functions

Link copied to clipboard
open fun <TARGET : Any> create(body: Any): Mono<CommandMessage<TARGET>>

Creates a CommandMessage from a command body object.

abstract fun <TARGET : Any> create(commandBuilder: CommandBuilder): Mono<CommandMessage<TARGET>>

Creates a CommandMessage from a CommandBuilder.