Class EventConsumptionConfiguration

java.lang.Object
org.alfresco.event.gateway.autoconfigure.consumption.EventConsumptionConfiguration

@Configuration public class EventConsumptionConfiguration extends Object
  • Constructor Details

    • EventConsumptionConfiguration

      public EventConsumptionConfiguration()
  • Method Details

    • consumptionExecutor

      @Bean public Executor consumptionExecutor(@Value("${alfresco.event.gateway.consumption.executor.corePoolSize:2}") Integer corePoolSize, @Value("${alfresco.event.gateway.consumption.executor.maxPoolSize:2}") Integer maxPoolSize, @Value("${alfresco.event.gateway.consumption.executor.queueCapacity:500}") Integer queueCapacity, @Value("${alfresco.event.gateway.consumption.executor.threadNamePrefix:Consumption-}") String threadNamePrefix)