title: JMS within Tomcat: creation a queue per client?
body: <p>I am trying to develop my own server as an web application with Tomcat. I would like to develop a system of push notifications (server->client(s)) and I saw that the principle of JMS is quite interesting for that. I already found some tutorial on Internet about how to use JMS/ActiveMQ on Tomcat (for instance: <a href="http://www.idanfridman.com/using-jms-in-tomcat/" rel="nofollow">http://www.idanfridman.com/using-jms-in-tomcat/</a>) . However, it seems that the creation of queues or topics has to be done manually from a xml file (conf/server.xml). Some things do not seem clear to me. Indeed, i would like to know how the creation is exactly handled, if it is possible to create with a java code a queue/topic for each new client(s) (we don't send the same notitifications to every clients). If it is the case, in that case it means that if I have 1000 clients then I have to create 1000 queue in order to handle the notifications of each client.</p>
  
  <p>Thanks in adavance,</p>
  
  <p>S</p>