Open
Description
It is not possible to set the maximumSize using the HystrixCommand annotation. Example:
@HystrixCommand(ignoreExceptions = MyException.class,
threadPoolProperties = {
@HystrixProperty(name = "coreSize", value = "20"),
@HystrixProperty(name = "maximumSize", value = "25"),
@HystrixProperty(name = "allowMaximumSizeToDivergeFromCoreSize", value = "true")
})
public MyPerson getMyPerson(...)
Hystrix version: 1.5.11
Exception:
Caused by: java.lang.IllegalArgumentException: unknown thread pool property: maximumSize
at com.netflix.hystrix.contrib.javanica.conf.HystrixPropertiesManager.initializeProperties(HystrixPropertiesManager.java:125)
at com.netflix.hystrix.contrib.javanica.conf.HystrixPropertiesManager.initializeThreadPoolProperties(HystrixPropertiesManager.java:108)
at com.netflix.hystrix.contrib.javanica.command.GenericSetterBuilder.build(GenericSetterBuilder.java:81)