originClass

public MessageClass originClass()

Obtains the class of the origin message if available.

If this envelope represents a rejection, returns the type of rejected command.

Return

the class of origin message or EmptyClass if the origin message type is unknown