title: JMS Topic vs Queues
body: <p>I was wondering what is the difference between a JMS Queue and JMS Topic.</p>
  
  <p><a href="http://activemq.apache.org/how-does-a-queue-compare-to-a-topic.html" rel="noreferrer">ActiveMQ page</a> says </p>
  
  <blockquote>
    <h2>Topics</h2>
    
    <p>In JMS a Topic implements <em>publish and subscribe</em> semantics. When you publish a message it goes to all the subscribers who are
    interested - so zero to many subscribers will receive a copy of the
    message. Only subscribers who had an active subscription at the time
    the broker receives the message will get a copy of the message.</p>
    
    <h2>Queues</h2>
    
    <p>A JMS Queue implements <em>load balancer</em> semantics. A single message will be received by exactly one consumer. If there are no
    consumers available at the time the message is sent it will be kept
    until a consumer is available that can process the message. If a
    consumer receives a message and does not acknowledge it before closing
    then the message will be redelivered to another consumer. A queue can
    have many consumers with messages <em>load balanced</em> across the available
    consumers.</p>
  </blockquote>
  
  <p>I want to have 'something' what will send a copy of the message to each subscriber in the same sequence as that in which the message was received by the ActiveMQ broker.</p>
  
  <p>Any thoughts?</p>