dispatch

protected abstract DispatchOutcome dispatch(E entity, EventEnvelope event)

Dispatches the event message and its context to the given entity.

This operation is always performed in scope of an active transaction.

Parameters

entity

the entity to which the envelope is dispatched

event

the event to dispatch