title: How to reference constant in attribute in Spring
body: <p>I need to specify String constant as value of attribute:</p>
  
  <pre><code>&lt;int:header name="importedFilename" /&gt;
  </code></pre>
  
  <p>here "importedFilename" should not be hardcoded but taken from f.e. from <code>Constants.IMPORTED_FILENAME_HEADER</code> static field. Is there a way to do it? "int" is Spring Integration namespace btw. Also it seems that there is no appropriate bean definition to replace <code>int:header</code> with - so I can't use <code>&lt;bean class="Header"&gt;...</code>.</p>