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.
@FunctionalInterface public interface EventRouter
TheGatewayEventConsumerforwards theRepoEventto the event router that uses theEventConsumerRegistryto subsequently send the event to the correspondingEventConsumer/s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrouteEvent(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 Detail
-
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
-
-