onCommandRejected

public final void onCommandRejected(CommandId commandId, Event rejection)

Posts the CommandRejected system event.

Parameters

commandId

the ID of the rejected command

rejection

the rejection event