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
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 Type
    Method
    Description
    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 corresponding EventConsumer/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 corresponding EventConsumer/s.
      Parameters:
      event - the RepoEvent that is routed to the consumer/s