java.lang.Object
org.alfresco.hxi_connector.live_ingester.adapters.messaging.repository.filter.RepoEventFilterHandler

@Component public class RepoEventFilterHandler extends Object
  • Constructor Details

    • RepoEventFilterHandler

      public RepoEventFilterHandler()
  • Method Details

    • handleAndGetAllowed

      public boolean handleAndGetAllowed(org.apache.camel.Exchange exchange, Filter filter)

      Method handles event/node filtering.

      Returns whether node is allowed to be further processed.

      In case of update event:

      • When current version of the node is allowed but previous version was denied, then the type of the event is altered to 'Created'.
      • When current version of the node is denied but previous version was allowed, then the type of the event is altered to 'Deleted'.
      Parameters:
      exchange - Camel Exchange Object
      filter - Filter configuration