title: JMSListener annotation is not working along with REST service
body: <p>I am using "<em>Spring Boot - 2.1.5.RELEASE</em>" and "<em>Spring framework - 5.1.7.RELEASE</em>".
  JMS listener annotation is not picking a message from a MQ queue. No error logs are rolling in my IntelliJ IDEA as well.
  About my project - I am exposing a REST service which sends and receives a message from MQ (used JMSTemplate annotation). Till now it was working. Now I have to add another class which should listen for a queue. Hence added @JMSListener annotation which is not picking any message. Any insight will be really helpful.</p>
  
  <p>The pom has below specified dependencies.</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.ibm.mq&lt;/groupId&gt;
      &lt;artifactId&gt;mq-jms-spring-boot-starter&lt;/artifactId&gt;
      &lt;version&gt;2.0.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
      &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.ibm.mq&lt;/groupId&gt;
      &lt;artifactId&gt;com.ibm.mq.allclient&lt;/artifactId&gt;
      &lt;version&gt;9.1.4.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-jms&lt;/artifactId&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.fasterxml.jackson.dataformat&lt;/groupId&gt;
      &lt;artifactId&gt;jackson-dataformat-xml&lt;/artifactId&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>The class has below specified method.</p>
  
  <pre><code>import org.springframework.jms.annotation.JmsListener;
  @Component
  public class PickMyMessage {
      @JmsListener(destination = "IN",containerFactory = "myFactory")
      public void pullMyMessaage(String message){
          System.out.println("Message is pulled..");
      }
  }
  </code></pre>
  
  <p>My main application has @EnableJMS annotation. In my application.yml file I have given below information.</p>
  
  <pre><code>ibm:
    mq:
      channel: MY.APP.SVRCONN
      connName: 192.168.0.1(1415)
      password: Pswd
      queueManager: QM01
      user: appsrv
  </code></pre>
  
  <p>My Bean class configs are </p>
  
  <p>My JMS connection factory as below.</p>
  
  <pre><code>@Bean
      public JmsListenerContainerFactory&lt;?&gt; myFactory(ConnectionFactory connectionFactory,
                                                      DefaultJmsListenerContainerFactoryConfigurer configurer) {
          DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
          configurer.configure(factory, connectionFactory);
      }
  </code></pre>
  
  <p>Not sure what else I am missing here. Any insight will be really helpful.</p>
  
  <p>Instead of my existing project, if i create any simple demo project it is working as expected.</p>