create
Creates a CommandMessage from a CommandBuilder.
Return
a Mono emitting the created CommandMessage
Parameters
commandBuilder
the command builder containing all message properties
Type Parameters
TARGET
the type of the command body
Creates a CommandMessage from a command body object.
This convenience method creates a default CommandBuilder from the body and then converts it to a CommandMessage.
Return
a Mono emitting the created CommandMessage
Parameters
body
the command payload object
Type Parameters
TARGET
the type of the command body