How does a client create a topic (or a queue)?
Location: http://www.jguru.com/faq/view.jsp?EID=1188 Created: Nov 21, 1999 Author: Jerry Smith (http://www.jguru.com/guru/viewbio.jsp?EID=9) In the section “Topic Management” the JMS specification states: “JMS does not define facilities for creating, administering, or deleting topics.” In the JMS API, however, the QueueSession and TopicSession interfaces include createQueue() and createTopic(), respectively. For now, it’s likely that JMS implementations will vary with respect to static versus dynamic topic creation, as well as external topic administration and manipulation. It’s possible that some implementations will require static topic creation in advance using external functionality, for example, a utility. Some JMS implementations include a complete system administration tool for topic and queue management. Some implementations will provide administrative APIs for programmatic control of resource management. Other implementations may provide basic facilities for, say, topic or que