title: Read maxAttempts of spring @Retryable from application.properties file
body: <pre><code>@Retryable(value = Exception.class, maxAttempts = 3)
  public Boolean sendMessageService(Request request){
     ...
  }
  </code></pre>
  
  <p>maxAttempts argument in <code>@Retryable</code> annotation is hard coded. Can i read that value from <code>application.properties</code> file?</p>
  
  <p>something like </p>
  
  <pre><code>@Retryable(value = Exception.class, maxAttempts = "${MAX_ATTEMPTS}")
  </code></pre>