Class EventConsumptionConfiguration


  • @Configuration
    public class EventConsumptionConfiguration
    extends Object
    • Constructor Detail

      • EventConsumptionConfiguration

        public EventConsumptionConfiguration()
    • Method Detail

      • 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)