title: How to call an application.yaml parameter in the method signature? Java
body: <p>I have a method whose signature is a String that is placed explicitly, but I would like to add this String message in the application.yaml and call it in the method, as shown below:</p>
  <pre><code>publishesPublic.replyRefusal(map, &quot;500&quot;, &quot;AC0001&quot;, &quot;The request could not be processed at this time. Try again later.&quot;);
  </code></pre>
  <p>How do I leave the message in the application.yaml and call it in the method?</p>
  <p>Thanks in advance!</p>