How to configure Hystrix annotations from property file?
<p>I use the Hystrix-Javanica library to apply the circuit breaker via annotations. I'd like to configure Hystrix with properties defined in the Spring configuration. Since my application uses Spring AOP, I hoped something like this would work:</p>

<pre><code>@HystrixCommand(commandProperties = {
  @HystrixProperty(name = "circuitBreaker.requestVolumeThreshold", value = "${cb.requestVolumeThreshold}")
})
public boolean checkWebservice(String id) { ... }
</code></pre>

<p>But this fails with <code>bad property value. property name 'circuitBreaker.requestVolumeThreshold'. Expected int value</code></p>

<p>Any ideas how I can configure Hystrix without hard coding the values?</p>