You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI Team while i am using @HystrixProperty to set maximumSize i am not able to do in Hystrix version: 2.2.4
code 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: 2.2.4
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)
The text was updated successfully, but these errors were encountered:
HI Team while i am using @HystrixProperty to set maximumSize i am not able to do in Hystrix version: 2.2.4
code 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: 2.2.4
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)
The text was updated successfully, but these errors were encountered: