title: Spring Boot Change RabbitListener queue name with RefreshScope Annotation
body: <p>I'm using rabbitmq for messaging and spring cloud config server for config. I'm using rabbitlistener for consuming and keeping queue name in config server. When i change queuename on config server i want RabbitListener to change queuename but it doesn't seem to work. How can I get @rabbitlistener to change queuename when I refresh application through actuator refresh.</p>
  <pre><code>@Component
  @RefreshScope
  public class Listener
  {
      @RabbitListener(queues=&quot;${mq.queue}&quot;)
      public void listen(@Payload Message message)
      {
          
      }
  }
  </code></pre>