title: dynamically set @JmsListener destination from configuration properties
body: <p>I want to be able to set the @JMSlistener destination from an application.properties </p>
  
  <p>my code looks like this </p>
  
  <pre><code>@Service
  public class ListenerService {
      private Logger log = Logger.getLogger(ListenerService.class);
  
      @Autowired
      QueueProperties queueProperties;
  
  
      public ListenerService(QueueProperties queueProperties) {
          this.queueProperties = queueProperties;
  
      }
  
      @JmsListener(destination = queueProperties.getQueueName() )
      public void listenQueue(String requestJSON) throws JMSException {
          log.info("Received " + requestJSON);
  
      }
  }
  </code></pre>
  
  <p>but when building I get </p>
  
  <pre><code>Error:(25, 60) java: element value must be a constant expression
  </code></pre>