on
Creates a new event factory for producing events in response to the passed message.
Return
new event factory
Parameters
origin
the message in response to which events will be generated
producer Id
the ID of the entity producing the events
Creates a new event factory for producing events in response to the passed message.
new event factory
the message in response to which events will be generated
the ID of the entity producing the events