title: Spring/JMS listen to many destinations with one thread
body: <p>I have a spring/JMS heavy application in which I have multiple listener containers each listening to a different topic or queue.  I would like to reduce the number of threads I use to receive messages, and the number of threads I use to process messages for certain groups of queues/topics.  </p>
  
  <p>Is there any way to do this without using message selectors?  I saw spring's DefaultMessageListenerContainer has a way to provide a task executor.  However, the <a href="http://static.springsource.org/spring/docs/3.1.0.M1/javadoc-api/org/springframework/jms/listener/DefaultMessageListenerContainer.html#setTaskExecutor%28java.util.concurrent.Executor%29" rel="nofollow">doc</a> claims </p>
  
  <blockquote>
    <p>'A plain thread pool does not add much
    value, as this listener container will
    occupy a number of threads for its
    entire lifetime'</p>
  </blockquote>
  
  <p>I don't really need JMS transactions, or really even care if I get multiple messages.  Is there some way I can do this?</p>