title: Still waiting for shutdown of 1 message listener invokers
body: <p>I have an apache-camel JMS route.</p>
  
  <pre><code>form("jms:queue:sourceQueue").to("messageProcessor")
  </code></pre>
  
  <p>My requirement is to stop route on 3 message processing failures. In messageProcessor class, in catch block I am checking for error count and as soon as it reaches 3, I am inovking </p>
  
  <pre><code>camelContext.stopRoute(routeID, 3, TimeUnit.SECONDS);
  </code></pre>
  
  <p>My route <strong>do not stop</strong> and spring's DefaultMessageListenerContainer writes following line in log </p>
  
  <blockquote>
    <p><em>Shutting down JMS listener container</em></p>
    
    <p><em>Waiting for shutdown of message listener invokers</em></p>
    
    <p><strong><em>Still waiting for shutdown</strong> of 1 message listener invokers</em></p>
  </blockquote>
  
  <p>I am trying to figure out, what is holding DMLC from stopping?
  What camel attribute I am missing?</p>
  
  <p>If I use <code>asyncStopListener=true</code> then camle route stops but a thread keeps waiting in background to stop listener.</p>