title: spring pass value from property file to annotation
body: <p>I have application.properties file for spring app which contains some simple properties:</p>
  
  <pre><code>queue=my.test.q
  </code></pre>
  
  <p>in the java code i need to specify the queue to @RabbitListener:</p>
  
  <pre><code>@Component
  public class Handler {    
      @RabbitListener(queues = "my.test.q")
      public void handleMessage(Message message) {
         ...
      }
  </code></pre>
  
  <p>that would work, but i want to pass parameter to the annotation, i've tried the following but none of them worked. </p>
  
  <pre><code>    @Component
      public class Handler {
          @Value("${queue}")
          private String queueName;
  
          @RabbitListener(queues = @Value("${queue}")  &lt;-- not working
          @RabbitListener(queues = queueName))     &lt;--- not working
          public void handleMessage(Message message) {
             ...
          }    
  </code></pre>
  
  <p>is it possible to that?</p>