Interface EventRouter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The
GatewayEventConsumer forwards the RepoEvent to the event router that uses the EventConsumerRegistry to subsequently send the
event to the corresponding EventConsumer/s.-
Method Summary
Modifier and TypeMethodDescriptionvoidrouteEvent(org.alfresco.repo.event.v1.model.RepoEvent<org.alfresco.repo.event.v1.model.DataAttributes<org.alfresco.repo.event.v1.model.Resource>> event) Route an event to the correspondingEventConsumer/s.
-
Method Details
-
routeEvent
void routeEvent(org.alfresco.repo.event.v1.model.RepoEvent<org.alfresco.repo.event.v1.model.DataAttributes<org.alfresco.repo.event.v1.model.Resource>> event) Route an event to the correspondingEventConsumer/s.- Parameters:
event- theRepoEventthat is routed to the consumer/s
-