Package org.kie.kogito.event
Interface EventPublisher
public interface EventPublisher
Responsible for publishing events for consumption to the "outside world"
Depending on the implementation it can be to push over the wire or use an
in memory queue to notify other parties about particular events.
In case any filtering needs to take place, this is where it should happen.
-
Field Details
-
PROCESS_INSTANCES_TOPIC_NAME
- See Also:
-
USER_TASK_INSTANCES_TOPIC_NAME
- See Also:
-
PROCESS_DEFINITIONS_TOPIC_NAME
- See Also:
-
-
Method Details
-
publish
Publishes individual event- Parameters:
event- event to be published
-
publish
Publish collection of events. It's up to implementation to publish them individually or as complete collection.- Parameters:
events- events to be published
-