public interface EventPublisher
| Modifier and Type | Method and Description |
|---|---|
void |
publish(Event event)
Publishes an event to a message broker.
|
void publish(Event event) throws PublishingException
event - must not be nullPublishingException - if any publishing error occurs