Not able to pass config values in @HystrixProperty annotation

60 Views Asked by At

I am trying to pass properties values in @HystrixProperty annotation like below

  @HystrixProperty(name="circuitBreaker.requestVolumeThreshold", value="${requestVolumeThreshold}")

Also Tried this

@HystrixProperty(name="circuitBreaker.requestVolumeThreshold", value="#{${requestVolumeThreshold}}")

However its giving me exception "IllegalArgumentException"; bad property value Where Am I going wrong ?

0

There are 0 best solutions below