invoke

public abstract DispatchOutcome invoke(T target, E envelope)

Invokes the method to handle message with the context.

Return

the result of message handling

Parameters

target

the target object on which call the method

envelope

the MessageEnvelope wrapping the method arguments