This content has been marked as final.
Show 1 reply
-
1. Re: creating queue with JMS
jbertram Dec 12, 2012 12:40 PM (in response to hsn10)From section 11.2.21 of the JMS 1.1 specification:
Note the createTopic method of TopicSession and the createQueue method of QueueSession are used for converting a JMS provider specific name into a Topic or Queue object that represents an existing topic or queue by that name. These methods are not for creating the physical topic or queue. The physical creation of topics and queues are administrative tasks and are not done by JMS. The one exception is the creation of temporary topics and queues which is done using the createTemporaryTopic and createTemporaryQueue methods.
Unfortunately, there is no explanation as to "why."