forImport

public static EventFactory forImport(ActorContext actorContext, Any producerId)

Creates a new event factory for producing events to be imported into a Bounded Context.

Return

new event factory

Parameters

actorContext

the description of the actor who imports the events

producerId

the ID of the system which produced the events