postEvent

public Event postEvent(EventMessage systemEvent, Origin origin)

Posts a system event with the given origin.

If the associated bounded context is multitenant, the event is posted for the current tenant.

Return

a posted Event instance

Parameters

systemEvent

event to post

origin

the origin of the event