dispatchCommand

protected DispatchOutcome dispatchCommand(CommandEnvelope command)

Dispatches the command to the handling method.

Return

the list of events generated as the result of handling the command, if the process manager handles the event. Empty list, if the process manager substitutes the command

Parameters

command

the envelope with the command to dispatch