Class EventConsumptionConfiguration
- java.lang.Object
-
- org.alfresco.event.gateway.autoconfigure.consumption.EventConsumptionConfiguration
-
@Configuration public class EventConsumptionConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description EventConsumptionConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Executor
consumptionExecutor(Integer corePoolSize, Integer maxPoolSize, Integer queueCapacity, String threadNamePrefix)
-
-
-
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)
-
-